代码拉取完成,页面将自动刷新
// vite.config.ts
import { defineConfig } from "file:///D:/work/demo/demo3/vite-project/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/work/demo/demo3/vite-project/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { resolve } from "path";
import vueJsx from "file:///D:/work/demo/demo3/vite-project/node_modules/@vitejs/plugin-vue-jsx/index.js";
import { createSvgIconsPlugin } from "file:///D:/work/demo/demo3/vite-project/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_dirname = "D:\\work\\demo\\demo3\\vite-project";
var vite_config_default = defineConfig({
plugins: [
vue(),
vueJsx({}),
createSvgIconsPlugin({
// Specify the icon folder to be cached
iconDirs: [resolve(process.cwd(), "src/components/VFormDesigner/icons/svg")],
// Specify symbolId format
symbolId: "icon-[dir]-[name]"
})
],
resolve: {
alias: {
"~": resolve(__vite_injected_original_dirname, "./"),
"@": resolve(__vite_injected_original_dirname, "src"),
"@VFormDesigner": resolve(__vite_injected_original_dirname, "src/components/VFormDesigner"),
"src": resolve(__vite_injected_original_dirname, "src")
},
extensions: [".js", ".ts", ".jsx", ".tsx", ".json", ".vue", ".mjs"]
},
optimizeDeps: {
include: ["@VFormDesigner/lib/vuedraggable/vuedraggable.umd.js", "quill"]
},
css: {
preprocessorOptions: {
scss: {
/* 自动引入全局scss文件 */
additionalData: '@import "./src/components/VFormDesigner/styles/global.scss";'
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx3b3JrXFxcXGRlbW9cXFxcZGVtbzNcXFxcdml0ZS1wcm9qZWN0XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXF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EsRUFDeEIsU0FBUztBQUFBLElBQ0wsSUFBSTtBQUFBLElBQ0osT0FBTyxDQUFDLENBQUM7QUFBQSxJQUNULHFCQUFxQjtBQUFBO0FBQUEsTUFFckIsVUFBVSxDQUFDLFFBQVEsUUFBUSxJQUFJLEdBQUcsd0NBQXdDLENBQUM7QUFBQTtBQUFBLE1BRTNFLFVBQVU7QUFBQSxJQUNkLENBQUM7QUFBQSxFQUNEO0FBQUEsRUFDQSxTQUFTO0FBQUEsSUFDTCxPQUFPO0FBQUEsTUFDSCxLQUFLLFFBQVEsa0NBQVcsSUFBSTtBQUFBLE1BQzVCLEtBQUssUUFBUSxrQ0FBVyxLQUFLO0FBQUEsTUFDN0Isa0JBQWtCLFFBQVEsa0NBQVcsOEJBQThCO0FBQUEsTUFDbkUsT0FBTyxRQUFRLGtDQUFXLEtBQUs7QUFBQSxJQUNuQztBQUFBLElBQ0EsWUFBWSxDQUFDLE9BQU8sT0FBTyxRQUFRLFFBQVEsU0FBUyxRQUFRLE1BQU07QUFBQSxFQUN0RTtBQUFBLEVBQ0EsY0FBYztBQUFBLElBQ1YsU0FBUyxDQUFDLHVEQUF1RCxPQUFPO0FBQUEsRUFDNUU7QUFBQSxFQUNBLEtBQUs7QUFBQSxJQUNELHFCQUFxQjtBQUFBLE1BQ2pCLE1BQU07QUFBQTtBQUFBLFFBRUYsZ0JBQWdCO0FBQUEsTUFDcEI7QUFBQSxJQUNKO0FBQUEsRUFDSjtBQUNKLENBQUM7IiwKICAibmFtZXMiOiBbXQp9Cg==
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。