Skip to content

Commit

Permalink
update build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
steamdroid committed May 13, 2024
1 parent aea4508 commit 99dd4bd
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -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/'
});

0 comments on commit 99dd4bd

Please sign in to comment.