swc/bindings/binding_core_wasm/example
2024-05-28 23:59:47 +09:00
..
.gitignore refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
index.js refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
package.json chore: Fix yarn workspace 2024-05-28 23:59:47 +09:00
readme.txt refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
webpack.config.js refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00

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