Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still needed? webpack.build.js, webpack.dev.js, webpack.test.js #2692

Open
nstuyvesant opened this issue Mar 3, 2018 · 1 comment
Open
Labels

Comments

@nstuyvesant
Copy link
Contributor

nstuyvesant commented Mar 3, 2018

  • [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?

@Awk34
Copy link
Member

Awk34 commented Mar 6, 2018

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.

@Awk34 Awk34 added the question label Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants