From 07060cb6df2942c1f5c670484d64e5610695f273 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Thu, 9 May 2024 23:21:41 -0700 Subject: [PATCH] rm obsolete dependencies --- package.json | 1 - vite.config.js | 43 ------------------------------------------- 2 files changed, 44 deletions(-) delete mode 100644 vite.config.js diff --git a/package.json b/package.json index f48836e..6c6330b 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "eslint": "^8.57.0", "eslint-config-standard": "^17.1.0", "postcss-nesting": "^12.1.1", - "preact": "^10.20.2", "tap-spec": "^5.0.0", "typedoc": "^0.25.13", "typescript": "^5.4.4" diff --git a/vite.config.js b/vite.config.js deleted file mode 100644 index fbe1de5..0000000 --- a/vite.config.js +++ /dev/null @@ -1,43 +0,0 @@ -import { defineConfig } from 'vite' -import preact from '@preact/preset-vite' -import postcssNesting from 'postcss-nesting' - -// https://vitejs.dev/config/ -export default defineConfig({ - define: { - global: 'globalThis' - }, - root: 'example', - plugins: [ - preact({ - devtoolsInProd: false, - prefreshEnabled: true, - babel: { - sourceMaps: 'both' - } - }) - ], - // https://github.com/vitejs/vite/issues/8644#issuecomment-1159308803 - esbuild: { - logOverride: { 'this-is-undefined-in-esm': 'silent' } - }, - publicDir: '_public', - css: { - postcss: { - plugins: [ - postcssNesting - ], - }, - }, - server: { - port: 8888, - host: true, - open: true, - }, - build: { - minify: false, - outDir: '../public', - emptyOutDir: true, - sourcemap: 'inline' - } -})