Page MenuHomePhabricator

D6989.diff
No OneTemporary

D6989.diff

diff --git a/lib/webpack/shared.cjs b/lib/webpack/shared.cjs
--- a/lib/webpack/shared.cjs
+++ b/lib/webpack/shared.cjs
@@ -262,6 +262,7 @@
},
plugins: [
...sharedPlugins,
+ ...baseConfig.plugins,
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify(env.prod ? 'production' : 'development'),
diff --git a/web/webpack.config.cjs b/web/webpack.config.cjs
--- a/web/webpack.config.cjs
+++ b/web/webpack.config.cjs
@@ -86,6 +86,16 @@
};
const baseWebWorkersConfig = {
+ plugins: [
+ new CopyPlugin({
+ patterns: [
+ {
+ from: 'node_modules/sql.js/dist/sql-wasm.wasm',
+ to: path.join(__dirname, 'dist'),
+ },
+ ],
+ }),
+ ],
entry: {
pushNotif: './push-notif/service-worker.js',
},

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 9:57 PM (11 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2703281
Default Alt Text
D6989.diff (808 B)

Event Timeline