Skip to content
Discussion options

You must be logged in to vote

After some testing, it seems that the Webpack doesnt locate webpack.config.js

ATM, it is placed in /home/src/webpack.config.js as per browser-esm-webpack

Moving it to /home/webpack.config.js results in require not defined
I managed to get webpack to output (with some errors) with:

npx webpack build --config src/webpack.config.js

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alexander-akait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants