stfsy / broccoli-webapp-starter

Starter Application for Web Apps using Broccoli for development, concatenating, minifying etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broccoli-webapp-starter

Git tag Github issues

Starter project for a web application using Broccoli as development and build pipeline tool.

Installation

git clone https://github.com/stfsy/broccoli-webapp-starter

Serve

Starts a development server on the local machine on port 4200, serving all images, scripts, styles and views.

npm run serve

Build

Builds the webapp, including all images, scripts, styles and views. Output directory is dist and has to be cleaned before a new build.

npm run build

Dependencies

Add external JavaScript or CSS dependencies to the dependency tree in the Brocfile.js. Dependencies will be added to the JS or CSS Trees later on. No need to update the index.html.

const dependencies = new Merge([
    new Funnel('node_modules/material-components-web/dist', {
        include: [
            '*.min.*'
        ]
    })], {})

License

This project is distributed under the MIT license.

About

Starter Application for Web Apps using Broccoli for development, concatenating, minifying etc.

License:MIT License


Languages

Language:JavaScript 75.3%Language:HTML 24.7%