add vite devtools json
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import devtoolsJson from 'vite-plugin-devtools-json';
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig, loadEnv } from 'vite';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
@@ -10,12 +11,8 @@ export default defineConfig(({ mode }) => {
|
||||
process.env = { ...process.env, ...env };
|
||||
|
||||
return {
|
||||
plugins: [tailwindcss(), sveltekit()],
|
||||
css: {
|
||||
transformer: 'lightningcss',
|
||||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
},
|
||||
plugins: [tailwindcss(), sveltekit(), devtoolsJson()],
|
||||
css: { transformer: 'lightningcss' },
|
||||
build: { target: 'esnext' },
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user