mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
Merge branch 'main' of https://github.com/MercuryWorkshop/aerojet
This commit is contained in:
commit
b4a2f2f3d1
2 changed files with 11 additions and 7 deletions
3
rewriter/rust-toolchain.toml
Normal file
3
rewriter/rust-toolchain.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "nightly"
|
||||
targets = [ "wasm32-unknown-unknown" ]
|
|
@ -60,7 +60,6 @@ export default defineConfig({
|
|||
path: join(__dirname, "dist"),
|
||||
libraryTarget: "es2022",
|
||||
iife: true,
|
||||
clean: true,
|
||||
},
|
||||
plugins: [
|
||||
new rspack.ProvidePlugin({
|
||||
|
@ -105,12 +104,14 @@ export default defineConfig({
|
|||
});
|
||||
},
|
||||
},
|
||||
// new RsdoctorRspackPlugin({
|
||||
// supports: {
|
||||
// parseBundle: true,
|
||||
// banner: true,
|
||||
// },
|
||||
// }),
|
||||
process.env.DEBUG === "true"
|
||||
? new RsdoctorRspackPlugin({
|
||||
supports: {
|
||||
parseBundle: true,
|
||||
banner: true,
|
||||
},
|
||||
})
|
||||
: null,
|
||||
],
|
||||
target: "webworker",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue