Disable automatic publicPath to unbreak worklets
This commit is contained in:
parent
0584c39a70
commit
91f46cc8f4
1 changed files with 4 additions and 0 deletions
|
@ -737,6 +737,10 @@ module.exports = (env, argv) => {
|
|||
filename: "bundles/[hash]/[name].js",
|
||||
chunkFilename: "bundles/[hash]/[name].js",
|
||||
webassemblyModuleFilename: "bundles/[hash]/[modulehash].wasm",
|
||||
|
||||
// Disable automatic public path as it doesn't appear to function with
|
||||
// worklets in Webpack 5
|
||||
publicPath: "",
|
||||
},
|
||||
|
||||
// configuration for the webpack-dev-server
|
||||
|
|
Loading…
Reference in a new issue