diff --git a/vite.config.js b/vite.config.js index 5c45e1d..a9bf96d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,16 +1,19 @@ -import { fileURLToPath, URL } from 'node:url' +import { fileURLToPath, URL } from 'node:url'; -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' +import { defineConfig } from 'vite'; +import vue from '@vitejs/plugin-vue'; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [ - vue(), - ], + plugins: [vue()], resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } - } -}) + }, + build: { + target: 'es2015', + cssTarget: 'chrome61' + }, + base: '/label-generator/' +});