Skip to content
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

Support Vite style worker and wasm #928

Open
wre232114 opened this issue Jan 28, 2024 · 0 comments
Open

Support Vite style worker and wasm #928

wre232114 opened this issue Jan 28, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@wre232114
Copy link
Member

What problem does this feature solve?

Implement Vite style worker and wasm by Rust plugins

What does the proposed API look like?

import init from './example.wasm?init'

init().then((instance) => {
  instance.exports.test()
})
import MyWorker from './worker?worker'

const worker = new MyWorker()
@NidMo NidMo self-assigned this Feb 3, 2024
@wre232114 wre232114 self-assigned this Jun 25, 2024
@wre232114 wre232114 added this to the V1.2.0 milestone Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants