Skip to content

Improving Build Time

Andrew Post edited this page May 8, 2017 · 1 revision

Remove bower from our project completely. Including index.html, package.json, gulpfile.js files etc.

  • reason: we decide not to use bower in our project anymore, because it takes a lot of time to download all bower components. we use cdn as source in index.html to download what we need instead

Remove bower_install from frontend-maven-plugin in pom.xml file

  • reason: we do not use bower in our project anymore, so we do not need to download its components.

Remove Karma from gulpfile.js and package.json as test suite

  • reason(why we can, and we should do this):

Remove phantomJS from gulpfile.js (Jason I did not find phantomJS from original gulpfile?)

  • reason(why we can, and we should do this):

Remove Linting(jshint) from gulpfile.js

  • reason(why we can, and we should do this):

Remove wiredeep from gulpfile.js

  • reason(why we can, and we should do this):

Remove cache-templates from gulpfile.js

  • reason(why we can, and we should do this):

Jason please edit as you like, and add additional items that you have done to make better build performance