Merge branch 'master' into mod-management

This commit is contained in:
Geometrically
2023-03-30 15:41:23 -07:00
committed by GitHub
22 changed files with 1553 additions and 342 deletions

View File

@@ -3,6 +3,7 @@ import vue from '@vitejs/plugin-vue'
import alias from '@rollup/plugin-alias'
import { resolve } from 'path'
import eslint from 'vite-plugin-eslint'
import svgLoader from "vite-svg-loader"
const projectRootDir = resolve(__dirname)
@@ -19,6 +20,20 @@ export default defineConfig({
],
}),
eslint(),
svgLoader({
svgoConfig: {
plugins: [
{
name: 'preset-default',
params: {
overrides: {
removeViewBox: false,
},
},
},
],
},
}),
],
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`