Skip to content

Commit 4cda3fc

Browse files
pelotomarunoda
authored andcommitted
Allow customConfig to override devtool (#668)
1 parent 738c4a0 commit 4cda3fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/server/config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ export default function (configType, baseConfig, configDir) {
8888
// We'll always load our configurations after the custom config.
8989
// So, we'll always load the stuff we need.
9090
...config,
91+
// Override with custom devtool if provided
92+
devtool: customConfig.devtool || config.devtool,
9193
// We need to use our and custom plugins.
9294
plugins: [
9395
...config.plugins,

0 commit comments

Comments
 (0)