一覧へ戻る
- star 数
- 5
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2021/11/10
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", }), ], });