0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-28 21:32:46 +01:00
uptime-kuma/vite.config.js

25 lines
593 B
JavaScript
Raw Normal View History

2021-08-08 18:24:05 +02:00
import legacy from "@vitejs/plugin-legacy"
import vue from "@vitejs/plugin-vue"
import { defineConfig } from "vite"
2021-06-24 15:42:03 +02:00
const postCssScss = require("postcss-scss")
const postcssRTLCSS = require('postcss-rtlcss');
2021-06-24 15:42:03 +02:00
// https://vitejs.dev/config/
export default defineConfig({
2021-08-08 18:24:05 +02:00
plugins: [
vue(),
legacy({
targets: ["ie > 11"],
additionalLegacyPolyfills: ["regenerator-runtime/runtime"]
})
],
css: {
postcss: {
"parser": postCssScss,
"map": false,
"plugins": [postcssRTLCSS]
}
},
2021-06-24 15:42:03 +02:00
})