mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
31 lines
596 B
JavaScript
31 lines
596 B
JavaScript
import { defineConfig } from 'vite';
|
|
import { createVuePlugin } from 'vite-plugin-vue2';
|
|
import { resolve } from 'path';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [createVuePlugin()],
|
|
server: {
|
|
host: 'localhost',
|
|
port: 8080,
|
|
},
|
|
resolve: {
|
|
alias: [
|
|
{
|
|
find: '@',
|
|
replacement: resolve(__dirname, 'src'),
|
|
},
|
|
],
|
|
},
|
|
build: {
|
|
chunkSizeWarningLimit: 700, // Default is 500
|
|
},
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
additionalData: '@import "@/styles/_variables.scss";',
|
|
},
|
|
},
|
|
},
|
|
});
|