mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
901b32fa05
Co-authored-by: rickevry <rickard@rickardnilsson.com>
22 lines
275 B
Plaintext
22 lines
275 B
Plaintext
To run this example, you first need to build swc for the web:
|
|
|
|
cd swc/wasm
|
|
./scripts/build_web_release.sh
|
|
|
|
Then run npm install:
|
|
|
|
cd swc/wasm/example
|
|
npm install
|
|
|
|
Finally, start the webpack-dev-server:
|
|
|
|
cd swc/wasm/example
|
|
npm run serve
|
|
|
|
Browse to http://localhost:8080
|
|
|
|
|
|
|
|
|
|
|