Skip to content

escapedcat/angular-phonecat-webpack-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Step-15 Webpack version using gulp to create build-file

index.html is modified to use the build-file from the dist folder!

##Setup sudo npm install -g webpack (for adding webpack)

##Development workflow (not needed in this step, cause this only add gulp to show how a simple build works; see next section) webpack ./app/js/main.js ./app/js/bundle/bundle.js --progress --colors -d --watch

This creates the bundle.js and the sourcemap-file. The sourcemap file gets created because of the debug option (-d).

Every change of the JavaScript files will be watched and Webpack rebuilds the build-file automatically.

##Build Create uglified file by using: gulp

About

Ways to split the Angular Phonecat App using webpack (and gulp)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 65.1%
  • Shell 23.1%
  • CSS 11.8%