From 91f46cc8f44ce7c0aeebe575dc01304e827a2d69 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Sun, 12 Nov 2023 12:23:36 +0100 Subject: [PATCH] Disable automatic publicPath to unbreak worklets --- webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 6108734568..591b3f648b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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