Skip to content

Commit bc5a308

Browse files
committed
fix dev server start
1 parent 100f190 commit bc5a308

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

webpack.config.mjs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,9 @@ export default (env, args) => {
195195
}
196196
}
197197

198-
// Keep both bundle names in sync during watch/dev runs because downstream
199-
// servers and templates may reference either path.
200-
return [
201-
developmentBundle,
202-
{
203-
...developmentBundle,
204-
output: {
205-
...developmentBundle.output,
206-
filename: 'mashlib.min.js'
207-
}
208-
}
209-
]
198+
// Use a single devServer config for watch/dev runs to avoid duplicate port
199+
// conflicts in webpack-dev-server.
200+
return developmentBundle
210201
}
211202

212203
// UMD Minified, everything bundled

0 commit comments

Comments
 (0)