Skip to content

Commit 18ca83c

Browse files
committed
WIP
1 parent ed74ba7 commit 18ca83c

File tree

15 files changed

+1083
-9
lines changed

15 files changed

+1083
-9
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

@@ -51,6 +55,7 @@ module.exports = {
5155
},
5256

5357
output: {
58+
chunkFormat: false,
5459
strictModuleErrorHandling: true,
5560
strictModuleExceptionHandling: true,
5661
},
@@ -63,5 +68,9 @@ module.exports = {
6368
analyzerMode: 'static',
6469
openAnalyzer: false
6570
})
66-
]
71+
],
72+
73+
experiments: {
74+
asyncWebAssembly: true
75+
},
6776
};

package-lock.json

Lines changed: 181 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
"workspaces": [
129129
"configs/eslint-config-mongosh",
130130
"configs/tsconfig-mongosh",
131+
"packages/async-rewriter3",
131132
"scripts/docker",
132133
"packages/async-rewriter2",
133134
"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)