Fixed grunt-webpack circular reference issue
parent
f6d97c19d9
commit
16be7cb28a
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue