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"),
|
path: join(__dirname, "dist"),
|
||||||
libraryTarget: "es2022",
|
libraryTarget: "es2022",
|
||||||
iife: true,
|
iife: true,
|
||||||
clean: true,
|
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new rspack.ProvidePlugin({
|
new rspack.ProvidePlugin({
|
||||||
|
@ -105,12 +104,14 @@ export default defineConfig({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// new RsdoctorRspackPlugin({
|
process.env.DEBUG === "true"
|
||||||
// supports: {
|
? new RsdoctorRspackPlugin({
|
||||||
// parseBundle: true,
|
supports: {
|
||||||
// banner: true,
|
parseBundle: true,
|
||||||
// },
|
banner: true,
|
||||||
// }),
|
},
|
||||||
|
})
|
||||||
|
: null,
|
||||||
],
|
],
|
||||||
target: "webworker",
|
target: "webworker",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue