wasm-pack-plugin
wasm-pack-plugin copied to clipboard
webpack plugin for Rust
When the script attempts to install wasm-pack if it doesn't exist, it does so with the `-g` flag, which by default tries to install in `/usr/lib`, which the running user...
Some aspects of the post-compilation phase of `wasm-bindgen` can be configured through environment variables. There's really no way to control this from outside this plugin if you have separate crates...
If plugin.js is invoked twice by a misconfigured webpack, say because I haven't figured out how to correctly compile two different web workers yet, print a warning and compile them...
Say, if you accidentally launched two processes simultaneously...
Concerning issue #133
`@wasm-tool/[email protected]` doesn't recompile on Rust source code change, which is expected, because Watchpack never triggers 'aggregate' event. Form what i understand it's happening because according to [Watchpacks readme](https://github.com/webpack/watchpack) it's not...
Hi, `wasm-pack build` uses the crate name if `out-name` is not provided, so defaulting to `index` in the plugin causes an inconsistent behavior. I think it would make sense to...
I like projects without folders, especially for smaller things. This can be done in `Cargo.toml` by ```toml [lib] crate-type = ["cdylib"] path = "index.rs" ``` but that'll break `webpack serve`'s...
When developing locally, I have two sibling folders, core/ and website/. Website's cargo.toml references `core/` via `core = {path="../core"}`. I'd love to have the website auto-refresh when I make changes...
Support for watchpack options. I'll set it to `{ poll: true }` to run hot reload in my env.