Using WASM to draw fractals using Canvas API
Following NPM script will run cargo clippy
:
npm run clippy
Following NPM script will format the codes:
npm run fmt
which is:
cargo +nightly fmt
For the above runs in the Nightly mode because it has rustfmt.toml.
format_strings = true
# DEV
npm run dev
# Check: http://localhost:8080
# BUILD
npm run build
See Cargo.toml for installed Rust crates.
- core-js
- @babel/cli
- @babel/core
- @babel/preset-env
- babel-loader
- webpack
- webpack-cli
- webpack-dev-server
- file-loader
- css-loader
- postcss-loader
- style-loader
- clean-webpack-plugin
- html-webpack-plugin
- autoprefixer
- @wasm-tool/wasm-pack-plugin
- postcss-cli
- postcss-preset-env
- postcss-import
- postcss-mixins
- tailwindcss
- nodemon
- concurrently
- rimraf
- prettier
npm install --save core-js
npm install --save-dev @babel/cli @babel/core @babel/preset-env \
babel-loader webpack webpack-cli webpack-dev-server \
file-loader css-loader postcss-loader style-loader \
clean-webpack-plugin html-webpack-plugin \
autoprefixer postcss-cli postcss-preset-env \
postcss-import postcss-mixins \
nodemon concurrently rimraf prettier \
@wasm-tool/wasm-pack-plugin
Dual-licensed under MIT or the UNLICENSE.
Choose at your option.