支持自定义的rules
This commit is contained in:
parent
c347120c8b
commit
4bfafa31d3
|
|
@ -800,6 +800,9 @@ module.exports = function (webpackEnv) {
|
|||
// Make sure to add the new loader(s) before the "file" loader.
|
||||
],
|
||||
},
|
||||
...(projectConfiguration &&
|
||||
projectConfiguration.module &&
|
||||
projectConfiguration.module.rules ? projectConfiguration.module.rules : []),
|
||||
].filter(Boolean),
|
||||
},
|
||||
plugins: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue