Skip to content

Commit

Permalink
config refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
NullDev committed Nov 13, 2023
1 parent f696913 commit 67ff278
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "berghain-web",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"watch": "vite build --watch",
"lint": "eslint . --ext .js",
"lint:fix": "eslint . --ext .js --fix",
"preview": "vite preview"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions web/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { defineConfig } from 'vite'
import { viteSingleFile } from 'vite-plugin-singlefile'
import { createHtmlPlugin } from 'vite-plugin-html';
import { defineConfig } from "vite";
import { viteSingleFile } from "vite-plugin-singlefile";
import { createHtmlPlugin } from "vite-plugin-html";

export default defineConfig({
plugins: [
viteSingleFile(),
createHtmlPlugin({
minify: true,
})
}),
],
build: {
cssCodeSplit: false,
assetsInlineLimit: 100000000,
}
})
},
});

0 comments on commit 67ff278

Please sign in to comment.