rust-webpack-template
rust-webpack-template copied to clipboard
Kickstart your Rust, WebAssembly, and Webpack project!
After running `npm init rust-webpack sand2`, I get the following unexpected error when running `npm start`. ``` > [email protected] start > rimraf dist pkg && webpack-dev-server --open -d 🧐 Checking...
Im trying to download this template, but im getting this error: ``` PS C:\Code\Projects> npm init rust-webpack wasm-test C:\Users\dibob\AppData\Local\npm-cache\_npx\6f943a42ba5b2fe2\node_modules\create-rust-webpack\.bin\create-rust-webpack.js:13 throw output.error; ^ Error: spawnSync git ENOENT at Object.spawnSync (node:internal/child_process:1083:20) at...
Added fixes for #175 which included updating other supporting webpack packages and fixing issues with the webpack config file as the schema has changed between the versions
### Describe the Bug Running `yarn start` should start a dev-server that will recompile webpack bundle every time the rust source file is changed, but it fails to do so...
This is a webpack 4 bug that is described [here](https://stackoverflow.com/questions/69665222/node-17-0-1-gatsby-error-digital-envelope-routinesunsupported-err-ossl-evp) (second answer seems the most relevant). This issue is supposedly resolved in webpack 5.61.0+. ### Steps to Reproduce 1. Run...
### Summary Hello, I want to use WASM in my frontend projects but comparing Rust + WASM performance vs JS, I always get JS more faster : **My project :**...
console_error_panic_hook wasn't working properly, so I fixed Cargo.toml and src/lib.rs. ( #163 )
I've been learning wasm by [game of life tutorial](https://rustwasm.github.io/docs/book/) recently. The difference from the tutorial is that I use `rust-webpack-template` (this repo) instead of `wasm-pack-template` (https://github.com/rustwasm/wasm-pack-template). When I entered the...
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...