-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Unable to build with version 2.5.0 #897
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Actual Behavior
Unable to build with the new miniCssExtractPlugin version
2.5.0
build is successful while using the previous version
2.4.7
Expected Behavior
Expected to build successfully.
How Do We Reproduce?
repo link: https://github.com/sheshanth/mini-css-plugin.git
yarn install
ornpm install
yarn build
ornpm build
Please paste the results of
npx webpack-cli info
here, and mention other relevant information[webpack-cli] Failed to load 'E:\development\test\webpack.config.js' config
[webpack-cli] TypeError: MiniCssExtractPlugin is not a constructor
at Object. (E:\development\test\webpack.config.js:18:5)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at WebpackCLI.tryRequireThenImport (E:\development\test\node_modules\webpack
-cli\lib\webpack-cli.js:244:16)
at loadConfigByPath (E:\development\test\node_modules\webpack-cli\lib\webpac
k-cli.js:1710:30)
at WebpackCLI.loadConfig (E:\development\test\node_modules\webpack-cli\lib\w
ebpack-cli.js:1830:36)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.
The text was updated successfully, but these errors were encountered: