We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What is the current behavior?
See my current webpack.config.js: https://github.com/eamodio/vscode-gitlens/blob/2bfc0360b46933f715379016aed4084ad4e75fae/webpack.config.js
webpack.config.js
It works fine in Webpack 4, but results in
Compilation Results Version: 5.0.0-beta.22 Built: Sun Jul 26 2020 00:41:05 GMT-0400 (Eastern Daylight Time) Compile Time: 36ms Output Directory: C:\Users\Eric\code\eamodio\vscode-gitlens\dist Hash: dbd0e35abb9cf7150b07 ┌────────────┬───────────────────────────────┐ │ Entrypoint │ Bundle │ ├────────────┼───────────────────────────────┤ │ main │ Bundle Name │ main.js │ │ │ Compared For Emit │ false │ │ │ Bundle size │ 0.64 kb │ │ │ │ │ │ Modules: │ │ │ │ └────────────┴───────────────────────────────┘ [webpack-cli] Module not found: Error: Can't resolve './index.js' in 'C:\Users\Eric\code\eamodio\vscode-gitlens'
If the current behavior is a bug, please provide the steps to reproduce.
Using this branch: https://github.com/eamodio/vscode-gitlens/commits/feature/webpack5
yarn
yarn build
What is the expected behavior?
It should generate multiple bundles.
Other relevant information: webpack version: 5.0.0-beta.22 Node.js version: v12.16.2 Operating System: Window 10 Additional tools:
5.0.0-beta.22
v12.16.2
Window 10
The text was updated successfully, but these errors were encountered:
/cc @webpack/cli-team Can we add tests (or we already have tests)?
Sorry, something went wrong.
I'll take a look
webpack-cli/packages/webpack-cli/lib/groups/ConfigGroup.js
Line 99 in f1876c1
@evilebottnawi first thing I noticed is that we aren't passing the 2nd param argv to the config function, need to support that too, will check
argv
Successfully merging a pull request may close this issue.
Bug report
What is the current behavior?
See my current
webpack.config.js
: https://github.com/eamodio/vscode-gitlens/blob/2bfc0360b46933f715379016aed4084ad4e75fae/webpack.config.jsIt works fine in Webpack 4, but results in
If the current behavior is a bug, please provide the steps to reproduce.
Using this branch: https://github.com/eamodio/vscode-gitlens/commits/feature/webpack5
yarn
yarn build
What is the expected behavior?
It should generate multiple bundles.
Other relevant information:
webpack version:
5.0.0-beta.22
Node.js version:
v12.16.2
Operating System:
Window 10
Additional tools:
The text was updated successfully, but these errors were encountered: