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 + }, +});