-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: using rspack to bundle #1
base: main
Are you sure you want to change the base?
Conversation
@@ -26,7 +26,8 @@ pub fn create_basic_runtime() -> tokio::runtime::Runtime { | |||
let (event_interval, global_queue_interval, max_io_events_per_tick) = | |||
tokio_configuration(); | |||
|
|||
tokio::runtime::Builder::new_current_thread() | |||
tokio::runtime::Builder::new_multi_thread() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rspack only support multi thread mode now, but can support single thread in the future
@@ -1,3 +1,3 @@ | |||
[toolchain] | |||
channel = "1.80.0" | |||
channel = "nightly-2024-06-07" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rspack use nightly version of rust,but can switch to stable version in the future
deno bundle using rspack poc
run following commands to test
cargo run -- bundle '/Users/bytedance/github/deno/tests/testdata/bundle/npm_import/index.mjs' node output.js
current blocker for further integration