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
Added the [email protected] plugin for webpack config , and got the problem.
[email protected]
step 1. webpack --config webpack.dll.babel.js --progress step 2. webpack --config webpack.build.babel.js --watch --progress
webpack --config webpack.dll.babel.js --progress
webpack --config webpack.build.babel.js --watch --progress
and the terminal logs always changed between two kinds of logs, but the files not be modified.
below was basic config:
/** webpack.dll.babel.js */ export default { entry: { common: [ '@babel/polyfill', 'es6-promise', 'vue', // .... ] }, output: { path: path.resolve(__dirname, '../dist'), filename: 'manifest/[name].dll.js?[chunkhash]', library: '[name]', }, plugins: [ new webpack.DllPlugin({ context: '.', name: '[name]', path: path.resolve(__dirname, `../dist/manifest/[name].dll.json`), }), ], } /** webpack.build.babel.js */ export default { entry: { main: path.resolve(__dirname, '../app/main.js'), }, output: { path: path.resolve(__dirname, '../dist'), filename: `js/[name].js?[hash]`, chunkFilename: `js/[name].js?[hash]` }, plugins: [ new webpack.DllReferencePlugin({ context: '.', manifest: require(path.resolve( __dirname, `../dist/manifest/common.dll.json`, )), }), new HtmlWebpackPlugin({ template: path.resolve(__dirname, '../app/index.template.html'), filename: 'index.html', }), new AddAssetHtmlPlugin({ hash: true, publicPath: 'manifest/', outputPath: 'manifest/', filepath: path.resolve(__dirname, '../dist/manifest/*.dll.js'), }), ], };
The text was updated successfully, but these errors were encountered:
Watching files were not changed, the terminal alway show dynamic log between two hash logs.
As so far,I found a temporary way to make the silence log output that adding the webpack config stats: 'errors-warnings' (wepack Stats).
stats: 'errors-warnings'
Sorry, something went wrong.
No branches or pull requests
Added the
[email protected]
plugin for webpack config , and got the problem.Redo
step 1.
webpack --config webpack.dll.babel.js --progress
step 2.
webpack --config webpack.build.babel.js --watch --progress
and the terminal logs always changed between two kinds of logs, but the files not be modified.
config
below was basic config:
devDependencies
The text was updated successfully, but these errors were encountered: