From 67ff27819c493dbe235184d6a258d0f4ec37985a Mon Sep 17 00:00:00 2001 From: "NullDev (Shadow)" Date: Mon, 13 Nov 2023 05:42:28 +0100 Subject: [PATCH] config refactor --- web/package.json | 4 +++- web/vite.config.js | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/web/package.json b/web/package.json index d29c39f..8badae0 100644 --- a/web/package.json +++ b/web/package.json @@ -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": { diff --git a/web/vite.config.js b/web/vite.config.js index f0dc817..6a9adb9 100644 --- a/web/vite.config.js +++ b/web/vite.config.js @@ -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, - } -}) \ No newline at end of file + }, +});