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
.hooks
I got the error message below DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead
I have updated the node.js to 10.15.3. Here is my package.json file "dependencies": { "glob": "^7.1.3", "lodash": "^4.17.11" }, "devDependencies": { "@babel/core": "^7.3.4", "@babel/preset-env": "^7.3.4", "babel-loader": "^8.0.5", "babel-plugin-lodash": "^3.3.4", "css-loader": "^2.1.1", "extract-text-webpack-plugin": "^4.0.0-beta.0", "file-loader": "^3.0.1", "html-loader": "^0.5.5", "lodash-webpack-plugin": "^0.11.5", "node-sass": "^4.11.0", "optimize-css-assets-webpack-plugin": "^5.0.1", "uglifyjs-webpack-plugin": "^2.1.2", "webpack": "^4.11.0", "webpack-cli": "^3.2.3", "webpack-concat-plugin": "^3.0.0", "webpack-merge-and-include-globally": "^2.1.16", "webpack-sweet-entry": "^1.1.9" }, "scripts": { "test": "echo "Error: no test specified" && exit 1" }, "repository": { "type": "git" }, "keywords": [], "license": "ISC" }
Here is the contatPlugin configuration in webpack.config.js new ConcatPlugin({ uglify: false, sourceMap: false, name: 'js', outputPath: path.resolve(__dirname, 'main/webapp/asset/'), fileName: '[name].js', filesToConcat: [path.resolve(sourcePath, 'js/**/*.js')], attributes: { async: true } }),
The text was updated successfully, but these errors were encountered:
Having the same issue. Any news on how to fix this problem?
Sorry, something went wrong.
No branches or pull requests
I got the error message below
DeprecationWarning: Tapable.plugin is deprecated. Use new API on
.hooks
insteadI have updated the node.js to 10.15.3.
Here is my package.json file
"dependencies": {
"glob": "^7.1.3",
"lodash": "^4.17.11"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"babel-loader": "^8.0.5",
"babel-plugin-lodash": "^3.3.4",
"css-loader": "^2.1.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^3.0.1",
"html-loader": "^0.5.5",
"lodash-webpack-plugin": "^0.11.5",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"uglifyjs-webpack-plugin": "^2.1.2",
"webpack": "^4.11.0",
"webpack-cli": "^3.2.3",
"webpack-concat-plugin": "^3.0.0",
"webpack-merge-and-include-globally": "^2.1.16",
"webpack-sweet-entry": "^1.1.9"
},
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"repository": {
"type": "git"
},
"keywords": [],
"license": "ISC"
}
Here is the contatPlugin configuration in webpack.config.js
new ConcatPlugin({
uglify: false,
sourceMap: false,
name: 'js',
outputPath: path.resolve(__dirname, 'main/webapp/asset/'),
fileName: '[name].js',
filesToConcat: [path.resolve(sourcePath, 'js/**/*.js')],
attributes: {
async: true
}
}),
The text was updated successfully, but these errors were encountered: