LiveAtlas/vite.config.ts

25 lines
511 B
TypeScript
Raw Normal View History

2021-05-15 19:25:03 +00:00
import { defineConfig } from 'vite';
import { resolve } from 'path';
import vue from '@vitejs/plugin-vue';
import svgSpritePlugin from "vite-plugin-svg-sprite-component"
export default defineConfig({
plugins: [vue(), svgSpritePlugin({
symbolId: (name) => name,
})],
server: {
port: 8080
},
resolve: {
alias: [
{
find: '@',
replacement: resolve(__dirname, 'src')
}
]
},
build: {
chunkSizeWarningLimit: 600,
2021-05-15 20:31:42 +00:00
assetsDir: 'live-atlas/assets'
2021-05-15 19:25:03 +00:00
}
});