123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- // vite.config.ts
- import { fileURLToPath, URL } from "node:url";
- import { defineConfig } from "file:///D:/1%20-%20sunxiao/project/slibra-module-web/node_modules/vite/dist/node/index.js";
- import { createSvgIconsPlugin } from "file:///D:/1%20-%20sunxiao/project/slibra-module-web/node_modules/@digitalacorn/vite-plugin-svg-icons/dist/index.mjs";
- import vue from "file:///D:/1%20-%20sunxiao/project/slibra-module-web/node_modules/@vitejs/plugin-vue/dist/index.mjs";
- import vueJsx from "file:///D:/1%20-%20sunxiao/project/slibra-module-web/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
- import VueDevTools from "file:///D:/1%20-%20sunxiao/project/slibra-module-web/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
- import path from "path";
- var __vite_injected_original_import_meta_url = "file:///D:/1%20-%20sunxiao/project/slibra-module-web/vite.config.ts";
- var vite_config_default = defineConfig({
- base: "./",
- plugins: [
- vue(),
- vueJsx(),
- VueDevTools(),
- createSvgIconsPlugin({
- iconDirs: [path.resolve(process.cwd(), "src/assets/svgs")],
- symbolId: "icon-[dir]-[name]",
- svgoOptions: true,
- replaceStrokeWithCurrentColor: false
- })
- ],
- resolve: {
- alias: {
- "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
- },
- extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".vue"]
- },
- css: {
- preprocessorOptions: {
- scss: {
- additionalData: `
- @import "@/assets/styles/mixins.scss";
- @import "@/assets/styles/variables.scss";`
- }
- }
- },
- server: {
- host: "0.0.0.0"
- }
- });
- export {
- vite_config_default as default
- };
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFwxIC0gc3VueGlhb1xcX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