Page MenuHomePhabricator

D8393.id28301.diff
No OneTemporary

D8393.id28301.diff

diff --git a/web/webpack.config.cjs b/web/webpack.config.cjs
--- a/web/webpack.config.cjs
+++ b/web/webpack.config.cjs
@@ -145,6 +145,14 @@
},
],
}),
+ new CopyPlugin({
+ patterns: [
+ {
+ from: 'database/_generated/CommQueryExecutor.wasm',
+ to: path.join(__dirname, 'dist', 'webworkers'),
+ },
+ ],
+ }),
];
const prodWebWorkersPlugins = [
@@ -161,6 +169,19 @@
},
],
}),
+ new CopyPlugin({
+ patterns: [
+ {
+ from: 'database/_generated/CommQueryExecutor.wasm',
+ to: path.join(
+ __dirname,
+ 'dist',
+ 'webworkers',
+ 'CommQueryExecutor.[contenthash:12].wasm',
+ ),
+ },
+ ],
+ }),
new WebpackManifestPlugin({
publicPath: '',
}),

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 3:54 AM (2 m, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2812757
Default Alt Text
D8393.id28301.diff (787 B)

Event Timeline