mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 13:50:01 -04:00
monorepo part 1
This commit is contained in:
parent
aa838cbff6
commit
2138e02613
26 changed files with 681 additions and 14437 deletions
19
frontend/vite.config.js
Normal file
19
frontend/vite.config.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { defineConfig } from "vite"
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte"
|
||||
import { viteSingleFile } from "vite-plugin-singlefile"
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
svelte({
|
||||
|
||||
}),
|
||||
process.env.VITE_ADRIFT_SINGLEFILE && viteSingleFile()
|
||||
],
|
||||
build: {
|
||||
dev: true,
|
||||
minify: false,
|
||||
target: "esnext",
|
||||
outDir: "dist",
|
||||
sourcemap: true,
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue