* A few minor lints and docs * Added required packages to compile on Debian-style linux * Inlined some format args, and removed some `&` in args (they cause about 6% slowdown that compiler cannot inline) * a few spelling mistakes * fix fmt |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| wasm | ||
| .eslintrc.js | ||
| .gitignore | ||
| README.md | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| webpack.config.js | ||
README.md
Bezier-rs interactive documentation
Open these interactive docs: https://graphite.rs/libraries/bezier-rs/
This page also serves isolated demos for iframes used in the Rustdoc crate documentation.
Building and running
From this directory, first execute npm install to install the required Node dependencies. Then...
-
To run the development server with hot reloading:
npm start -
To compile an unoptimized development build (like above, but it writes the files instead of serving them):
npm run build -
To compile an optimized production build:
# WSL/Mac/Linux terminals: npm run build-prod-unix # Windows terminals: npm run build-prod-windows
When a build is compiled, the entire ./public folder is the output containing both the static index.html, etc., plus the generated build/ folder.