This commit is contained in:
syuilo
2024-08-27 11:00:15 +09:00
parent dc76f14457
commit fc7d22f4e8
5 changed files with 59 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import { type UserConfig, defineConfig } from 'vite';
import locales from '../../locales/index.js';
import meta from '../../package.json';
import packageInfo from './package.json' with { type: 'json' };
import pluginJson5 from './vite.json5.js';
const extensions = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.json', '.json5', '.svg', '.sass', '.scss', '.css', '.vue'];
@@ -66,6 +67,7 @@ export function getConfig(): UserConfig {
plugins: [
pluginVue(),
pluginJson5(),
],
resolve: {