Undo auto public path disablement as it doesn't work with workers

This commit is contained in:
Johannes Marbach 2023-11-16 19:39:39 +01:00
parent 4e32b6fbe1
commit 8dbefcc589

View file

@ -746,11 +746,6 @@ 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
// TODO: This appears to break workers though 🤦‍♂️
publicPath: "",
},
// configuration for the webpack-dev-server