Skip to content

Commit

Permalink
fix: hotUpdateMainFilename confict
Browse files Browse the repository at this point in the history
  • Loading branch information
liximomo committed Aug 30, 2022
1 parent 067a448 commit 9d62ebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/toolpack/src/webpack/config/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export function baseWebpackChain({
dev ? '[name]' : '[name].[contenthash:8]'
}.js`,
hotUpdateChunkFilename: 'static/webpack/[id].[fullhash].hot-update.js',
hotUpdateMainFilename: 'static/webpack/[fullhash].hot-update.json',
hotUpdateMainFilename:
'static/webpack/[runtime].[fullhash].hot-update.json',
strictModuleExceptionHandling: true,
// crossOriginLoading: crossOrigin,
webassemblyModuleFilename: 'static/wasm/[modulehash:8].wasm',
Expand Down

0 comments on commit 9d62ebc

Please sign in to comment.