How do you use the SWC bundler in rust? #7675
-
Is it possible to do the same thing as this JS code in Rust: import * as swc from "@swc/core";
console.log(await swc.bundle({ entry: "./index.js" })); I've tried the |
Beta Was this translation helpful? Give feedback.
Answered by
Fluffyalien1422
Jul 19, 2023
Replies: 1 comment
-
I found examples here: https://github.com/swc-project/swc/tree/main/crates/swc_bundler/examples |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fluffyalien1422
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found examples here: https://github.com/swc-project/swc/tree/main/crates/swc_bundler/examples