Skip to content

Commit 9317f4f

Browse files
committed
WIP
1 parent 2b9fed0 commit 9317f4f

File tree

13 files changed

+901
-8
lines changed

13 files changed

+901
-8
lines changed

config/webpack.base.config.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ module.exports = {
1111
test: /\.ts$/,
1212
use: [{ loader: 'ts-loader' }],
1313
exclude: [/node_modules/]
14-
}
14+
},
15+
/*{
16+
test: /\.wasm$/,
17+
type: 'asset/source',
18+
},*/
1519
]
1620
},
1721

@@ -54,6 +58,7 @@ module.exports = {
5458
},
5559

5660
output: {
61+
chunkFormat: false,
5762
strictModuleErrorHandling: true,
5863
strictModuleExceptionHandling: true,
5964
},
@@ -66,5 +71,9 @@ module.exports = {
6671
analyzerMode: 'static',
6772
openAnalyzer: false
6873
})
69-
]
74+
],
75+
76+
experiments: {
77+
asyncWebAssembly: true
78+
},
7079
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
"workspaces": [
144144
"configs/eslint-config-mongosh",
145145
"configs/tsconfig-mongosh",
146+
"packages/async-rewriter3",
146147
"scripts/docker",
147148
"packages/async-rewriter2",
148149
"packages/build",

packages/async-rewriter3/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
dist
3+
pkg
4+
target

0 commit comments

Comments
 (0)