-
-
Notifications
You must be signed in to change notification settings - Fork 628
Invalid configuration object: mangleExports
using 5.0.0-beta.14
#1677
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The error message is coming from webpack 4. Check that you are really using webpack 5. |
Full outputs of version and original command:
|
@JAicewizard Can you create reproducible test repo? |
https://github.com/JAicewizard/webpack_issue I have installed webpack and webpack cli using:
|
Need add tests |
will add 👍 |
@sokra I have the same issue. OS: Kubuntu 20.04 "webpack": "^4.43.0",
"webpack-cli": "^3.3.12" |
/cc @webpack/cli-team I think we fix it, somebody can add tests, or maybe we already have tests on this? |
adding now 👍 |
Seems to be working fine on webpack/webpack latest beta and latest CLI, adding test |
Bug report
What is the current behavior?
When I use the example configuration for mangleExports:
If the current behavior is a bug, please provide the steps to reproduce.
create webpack.config.js as example profided in documentation:
What is the expected behavior?
Webpack should not mangle exports like the documentation provides
Other relevant information:
webpack version: 5.0.0-beta-14
Node.js version: v13.12.0
Operating System: linux
Additional tools: webpack-cli@4.0.0-beta.8
The text was updated successfully, but these errors were encountered: