Fixed grunt-webpack circular reference issue

master
n1474335 2018-12-26 00:39:30 +00:00
parent f6d97c19d9
commit 16be7cb28a
1 changed files with 37 additions and 35 deletions

View File

@ -180,7 +180,8 @@ module.exports = function (grunt) {
}, },
webpack: { webpack: {
options: webpackConfig, options: webpackConfig,
web: { web: () => {
return {
mode: "production", mode: "production",
target: "web", target: "web",
entry: Object.assign({ entry: Object.assign({
@ -216,6 +217,7 @@ module.exports = function (grunt) {
openAnalyzer: false openAnalyzer: false
}), }),
] ]
};
}, },
webInline: { webInline: {
mode: "production", mode: "production",