when learning to use the extract-text-webpack-plugin plug-in
an error occurs when the extraction file uses contenthash, but there is no error using hash, and chunkhash
when learning to use the extract-text-webpack-plugin plug-in
an error occurs when the extraction file uses contenthash, but there is no error using hash, and chunkhash
webpack 4.3 conflicts are no longer fixed or updated. To use the new plug-in, refer to webpack4 to extract the css section of js to a separate file
.the project structure is shown in the following figure webpack.config.js can be accessed normally, checked a large amount of information, but do not know what went wrong, webpack-dev-server running HTTP server, life or death is a problem. Would yo...
there are now two entry files --src |--- a.js |--- b.js a.js class Test{ constructor(){ this.a = 123; } show = ()=>{ console.log(this.a) } } export default new Test(); b.js import ". a" webapck...