Disable automatic publicPath to unbreak worklets

This commit is contained in:
Johannes Marbach 2023-11-12 12:23:36 +01:00
parent 0584c39a70
commit 91f46cc8f4

View file

@ -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