Back to results
- stars
- 5
- watchers
- 1
- forks
- 0
- open issues
- 0
- Last updated
- 11/10/2021
app/
main.go
main.ts
// main.ts // @ts-ignore import ("main.go").then(({ main }) => main());
import { defineConfig } from "vite"; import goWasm from "@go-courier/rollup-plugin-go-wasm"; export default defineConfig({ root: "./app", build: { assetsDir: "static", }, plugins: [ goWasm({ // don't added this if play with rollup importWasmSuffix: "?url", }), ], });