Mercurial > code > home > repos > streamed-graph
diff vite.config.ts @ 130:73a70d00fb74
dep upgrades; working on build+release setup
author | drewp@bigasterisk.com |
---|---|
date | Sat, 06 May 2023 13:11:19 -0700 |
parents | 76c1a29a328f |
children | 8a30f1c9a702 |
line wrap: on
line diff
--- a/vite.config.ts Fri May 05 21:27:24 2023 -0700 +++ b/vite.config.ts Sat May 06 13:11:19 2023 -0700 @@ -1,4 +1,5 @@ -import { defineConfig, UserConfigExport } from "vite"; +import { defineConfig, Plugin, UserConfigExport } from "vite"; +import terser from "@rollup/plugin-terser"; const config: UserConfigExport = { base: "https://bigasterisk.com/reposyncDev/", @@ -18,7 +19,17 @@ }, rollupOptions: { external: /^lit/, + plugins: [ + terser({ + mangle:false, + compress:false, + format: { + semicolons: false, + }, + }) as Plugin, + ], }, + minify: true, }, resolve: { alias: [{ find: "rdf-canonize-native", replacement: "" }],