![](https://programmerah.com/wp-content/uploads/2020/11/19b4d7d8ac8d3fe2f9d82d616830493f.jpg)
At first thought it was a plugin version problem some of it was
![](https://programmerah.com/wp-content/uploads/2020/11/359b8b25ceacf3e11237c976f1dc9cef.jpg)
It doesn’t matter if it’s been tested later or if it’s been tested before or after
In webpack.prod.conf.js under build, you only need to modify the following configuration// extract css into its own file
new
ExtractTextPlugin({
// filename: assetsPath(‘ CSS /[name].[Contenthash]. CSS ‘),// the original configuration
filename:
utils
.
assetsPath
(
‘[name]/styles.[contenthash].css’
),
//
The changes
// Setting the following option to `false` will not extract CSS from codesplit chunks.
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
// It’s currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it’s `false`,
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
allChunks:
true,
}),
And then it’s ok
The reason for this is not clear from the Github forum. If you are interested in what appears to be a plugin patch, check it out
Read More:
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- Use mini-css-extract-plugin to report ReferenceError: window is not defined
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- Plugin Error: Plugin “Android Code Generator“ is incompatible (supported only in IntelliJ IDEA)
- Cannot read property ‘this compilation’ of undefined appears in copy webpack plugin
- Failed to load plugin jsdoc: Cannot find module ‘eslint-plugin-jsdoc‘
- Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repo…
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- Cannot resolve plugin org.apache.maven.plugins:maven-jar-plugin:2.4
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- Qt Failed opening project “xxx“: No plugin can open project type “text/plain“
- [problem solving] property[ elasticsearch.version ] is missing for plugin [head]
- ERROR 1524 (HY000): Plugin ‘auth_socket’ is not loaded How to Fix
- Start rqt_ Graph, prompt / opt / ROS / melody / share / PR2_ motor_ diagnostic_ Under tool plugin.xml There is something wrong with the file
- Webpack Upgrade Error: webpack.NamedModulesPlugin is not a constructor
- exception is java.lang.LinkageError: loader constraint violation: loader
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- After NPM run dev is running, the browser does not respond and reports an error in. / ~ / Babel loader / lib! / ~ / Vue loader / lib/ selector.js?type=script&in
- Solution to the expiration and unavailability of Android studio plug-in plugin
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0