Skip to content

Commit

Permalink
fix(bundling): fix webpack publicPath: 'auto' behavior for esm bu…
Browse files Browse the repository at this point in the history
…ilds (#13186)

Fixes #13185
  • Loading branch information
karaggeorge committed Nov 16, 2022
1 parent 620f6a6 commit 60a7345
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/webpack/src/utils/config.ts
Expand Up @@ -90,6 +90,7 @@ export function getBaseWebpackPartial(
hashFunction: 'xxhash64',
// Disabled for performance
pathinfo: false,
scriptType: internalOptions.esm ? 'module' : undefined,
},
module: {
// Enabled for performance
Expand Down

0 comments on commit 60a7345

Please sign in to comment.