mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-06 19:44:41 +08:00

* chore: eslint flat config * chore: format * update according to review * chore: remove prettier config and format * fix: move handler to script to bypass eslint * chore: config eslint for lang=js block * docs: add surrounding empty lines for code block * chore: also minify css in csp build * chore: publint
18 lines
323 B
TypeScript
18 lines
323 B
TypeScript
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import postcssNested from "postcss-nested";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
root: "./demo",
|
|
server: {
|
|
host: true,
|
|
},
|
|
css: {
|
|
postcss: {
|
|
plugins: [postcssNested()],
|
|
},
|
|
},
|
|
});
|