generator-angular-fullstack
generator-angular-fullstack copied to clipboard
Still needed? webpack.build.js, webpack.dev.js, webpack.test.js
- [x ] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
| Item | Version |
|---|---|
| generator-angular-fullstack | 4.2.3 |
| Node | 9.7.1 |
| npm | 5.7.1 |
| Operating System | OS X 10 |
| Item | Answer |
|---|---|
| Transpiler | Babel |
| Markup | Pug |
| CSS | SCSS |
| Router | ngRoute |
| Client Tests | Mocha |
| DB | PostgreSQL |
| Auth | Y |
Was wondering if webpack.build.js, webpack.dev.js, and webpack.test.js are still needed. I didn't see where they are used (sorry if I missed it). The generated gulpfile.babel.js passes the options object to webpackCompile (in webpack.make.js) directly without using any of these files.
Is it possible these are an artifact from an earlier version or do they have another purpose?
If you want to run webpack from the command line, the easiest way would be webpack --config ./webpack.build.js, for example. The --config argument expects an object to be passed back, and our webpack.make.js returns a function.