You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-02 21:22:41 +03:00
Disable automatic publicPath to unbreak worklets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user