mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -04:00
15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { dreamlandPlugin } from 'vite-plugin-dreamland';
|
|
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
|
|
|
export default defineConfig({
|
|
plugins: [dreamlandPlugin(), viteStaticCopy({
|
|
targets: [
|
|
{ src: "node_modules/@mercuryworkshop/epoxy-tls/minimal/epoxy.wasm", dest: "epoxy" },
|
|
]
|
|
})],
|
|
base: './',
|
|
build: {
|
|
target: "es2022",
|
|
}
|
|
});
|