Starter project for a web application using Broccoli as development and build pipeline tool.
git clone https://github.com/stfsy/broccoli-webapp-starter
Starts a development server on the local machine on port 4200, serving all images, scripts, styles and views.
npm run serve
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
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.*'
]
})], {})
This project is distributed under the MIT license.