加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts.timestamp-1725985865499-787a29fd85a8c.mjs 20.12 KB
一键复制 编辑 原始数据 按行查看 历史
Young1357 提交于 2024-09-18 11:08 . add first commit
// vite.config.ts
import { resolve } from "path";
import { loadEnv } from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6/node_modules/vite/dist/node/index.js";
import Vue from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/@vitejs+plugin-vue@5.1.2_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6__suwpmay4az3qbx5v24dekq73ru/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import VueJsx from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/@vitejs+plugin-vue-jsx@4.0.1_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.3_glh6ehk3ifapn2d6m7zwwznriu/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import progress from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-progress@0.0.7_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-progress/dist/index.mjs";
import EslintPlugin from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-eslint@1.8.1_eslint@9.9.0_jiti@1.21.6__vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-eslint/dist/index.mjs";
import { ViteEjsPlugin } from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-ejs@1.7.0_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-ejs/index.js";
import { viteMockServe } from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-mock@2.9.6_mockjs@1.1.0_rollup@4.21.0_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-mock/dist/index.js";
import PurgeIcons from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-purge-icons@0.10.0_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-purge-icons/dist/index.mjs";
import ServerUrlCopy from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-url-copy@1.1.4_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-url-copy/dist/index.js";
import VueI18nPlugin from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/@intlify+unplugin-vue-i18n@4.0.0_rollup@4.21.0_vue-i18n@9.13.1_vue@3.4.32_typescript@5.5.3__/node_modules/@intlify/unplugin-vue-i18n/lib/vite.mjs";
import { createSvgIconsPlugin } from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-svg-icons@2.0.1_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-svg-icons/dist/index.mjs";
import { createStyleImportPlugin, ElementPlusResolve } from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/vite-plugin-style-import@2.0.0_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/vite-plugin-style-import/dist/index.mjs";
import UnoCSS from "file:///C:/web_page/vue-element-plus-admin/node_modules/.pnpm/unocss@0.61.9_postcss@8.4.41_rollup@4.21.0_vite@4.5.0_@types+node@20.16.1_less@4.2.0_sass@1.77.8_terser@5.31.6_/node_modules/unocss/dist/vite.mjs";
var __vite_injected_original_dirname = "C:\\web_page\\vue-element-plus-admin";
var root = process.cwd();
function pathResolve(dir) {
return resolve(root, ".", dir);
}
var vite_config_default = ({ command, mode }) => {
let env = {};
const isBuild = command === "build";
if (!isBuild) {
env = loadEnv(process.argv[3] === "--mode" ? process.argv[4] : process.argv[3], root);
} else {
env = loadEnv(mode, root);
}
return {
base: env.VITE_BASE_PATH,
plugins: [
Vue({
script: {
// 开启defineModel
defineModel: true
}
}),
VueJsx(),
ServerUrlCopy(),
progress(),
env.VITE_USE_ALL_ELEMENT_PLUS_STYLE === "false" ? createStyleImportPlugin({
resolves: [ElementPlusResolve()],
libs: [
{
libraryName: "element-plus",
esModule: true,
resolveStyle: (name) => {
if (name === "click-outside") {
return "";
}
return `element-plus/es/components/${name.replace(/^el-/, "")}/style/css`;
}
}
]
}) : void 0,
EslintPlugin({
cache: false,
failOnWarning: false,
failOnError: false,
include: ["src/**/*.vue", "src/**/*.ts", "src/**/*.tsx"]
// 检查的文件
}),
VueI18nPlugin({
runtimeOnly: true,
compositionOnly: true,
include: [resolve(__vite_injected_original_dirname, "src/locales/**")]
}),
createSvgIconsPlugin({
iconDirs: [pathResolve("src/assets/svgs")],
symbolId: "icon-[dir]-[name]",
svgoOptions: true
}),
PurgeIcons(),
env.VITE_USE_MOCK === "true" ? viteMockServe({
ignore: /^\_/,
mockPath: "mock",
localEnabled: !isBuild,
prodEnabled: isBuild,
injectCode: `
import { setupProdMockServer } from '../mock/_createProductionServer'
setupProdMockServer()
`
}) : void 0,
ViteEjsPlugin({
title: env.VITE_APP_TITLE
}),
UnoCSS()
],
css: {
preprocessorOptions: {
less: {
additionalData: '@import "./src/styles/variables.module.less";',
javascriptEnabled: true
}
}
},
resolve: {
extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".less", ".css"],
alias: [
{
find: "vue-i18n",
replacement: "vue-i18n/dist/vue-i18n.cjs.js"
},
{
find: /\@\//,
replacement: `${pathResolve("src")}/`
}
]
},
esbuild: {
pure: env.VITE_DROP_CONSOLE === "true" ? ["console.log"] : void 0,
drop: env.VITE_DROP_DEBUGGER === "true" ? ["debugger"] : void 0
},
build: {
// target: 'es2015',
minify: "terser",
outDir: env.VITE_OUT_DIR || "dist",
sourcemap: env.VITE_SOURCEMAP === "true" ? "inline" : false,
// brotliSize: false,
terserOptions: {
compress: {
drop_debugger: env.VITE_DROP_DEBUGGER === "true",
drop_console: env.VITE_DROP_CONSOLE === "true"
}
}
// outDir: env.VITE_OUT_DIR || 'dist',
// sourcemap: env.VITE_SOURCEMAP === 'true',
// // brotliSize: false,
// rollupOptions: {
// plugins: env.VITE_USE_BUNDLE_ANALYZER === 'true' ? [visualizer()] : undefined,
// // 拆包
// output: {
// manualChunks: {
// 'vue-chunks': ['vue', 'vue-router', 'pinia', 'vue-i18n'],
// 'element-plus': ['element-plus'],
// 'wang-editor': ['@wangeditor/editor', '@wangeditor/editor-for-vue'],
// echarts: ['echarts', 'echarts-wordcloud']
// }
// }
// },
// cssCodeSplit: !(env.VITE_USE_CSS_SPLIT === 'false'),
// cssTarget: ['chrome31']
},
server: {
port: 4e3,
proxy: {
// 选项写法
"/api": {
target: "http://127.0.0.1:8000",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, "")
}
},
hmr: {
overlay: false
},
host: "0.0.0.0"
},
optimizeDeps: {
include: [
"vue",
"vue-router",
"vue-types",
"element-plus/es/locale/lang/zh-cn",
"element-plus/es/locale/lang/en",
"@iconify/iconify",
"@vueuse/core",
"axios",
"qs",
"echarts",
"echarts-wordcloud",
"qrcode",
"@wangeditor/editor",
"@wangeditor/editor-for-vue",
"vue-json-pretty",
"@zxcvbn-ts/core",
"dayjs",
"cropperjs"
]
}
};
};
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFx3ZWJfcGFnZVxcXFx2dW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AgICBzY3JpcHQ6IHtcclxuICAgICAgICAgIC8vIFx1NUYwMFx1NTQyRmRlZmluZU1vZGVsXHJcbiAgICAgICAgICBkZWZpbmVNb2RlbDogdHJ1ZVxyXG4gICAgICAgIH1cclxuICAgICAgfSksXHJcbiAgICAgIFZ1ZUpzeCgpLFxyXG4gICAgICBTZXJ2ZXJVcmxDb3B5KCksXHJcbiAgICAgIHByb2dyZXNzKCksXHJcbiAgICAgIGVudi5WSVRFX1VTRV9BTExfRUxFTUVOVF9QTFVTX1NUWUxFID09PSAnZmFsc2UnXHJcbiAgICAgICAgPyBjcmVhdGVTdHlsZUltcG9ydFBsdWdpbih7XHJcbiAgICAgICAgICAgIHJlc29sdmVzOiBbRWxlbWVudFBsdXNSZXNvbHZlKCldLFxyXG4gICAgICAgICAgICBsaWJzOiBbXHJcbiAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgbGlicmFyeU5hbWU6ICdlbGVtZW50LXBsdXMnLFxyXG4gICAgICAgICAgICAgICAgZXNNb2R1bGU6IHRydWUsXHJcbiAgICAgICAgICAgICAgICByZXNvbHZlU3R5bGU6IChuYW1lKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgIGlmIChuYW1lID09PSAnY2xpY2stb3V0c2lkZScpIHtcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gJydcclxuICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICByZXR1cm4gYGVsZW1lbnQtcGx1cy9lcy9jb21wb25lbnRzLyR7bmFtZS5yZXBsYWNlKC9eZWwtLywgJycpfS9zdHlsZS9jc3NgXHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBdXHJcbiAgICAgICAgICB9KVxyXG4gICAgICAgIDogdW5kZWZpbmVkLFxyXG4gICAgICBFc2xpbnRQbHVnaW4oe1xyXG4gICAgICAgIGNhY2hlOiBmYWxzZSxcclxuICAgICAgICBmYWlsT25XYXJu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ICAgICAgICAgc2V0dXBQcm9kTW9ja1NlcnZlcigpXHJcbiAgICAgICAgICBgXHJcbiAgICAgICAgICB9KVxyXG4gICAgICAgIDogdW5kZWZpbmVkLFxyXG4gICAgICBWaXRlRWpzUGx1Z2luKHtcclxuICAgICAgICB0aXRsZTogZW52LlZJVEVfQVBQX1RJVExFXHJcbiAgICAgIH0pLFxyXG4gICAgICBVbm9DU1MoKVxyXG4gICAgXSxcclxuXHJcbiAgICBjc3M6IHtcclxuICAgICAgcHJlcHJvY2Vzc29yT3B0aW9uczoge1xyXG4gICAgICAgIGxlc3M6IHtcclxuICAgICAgICAgIGFkZGl0aW9uYWxEYXRhOiAnQGltcG9ydCBcIi4vc3JjL3N0eWxlcy92YXJpYWJsZXMubW9kdWxlLmxlc3NcIjsnLFxyXG4gICAgICAgICAgamF2YXNjcmlwdEVuYWJsZWQ6IHRydWVcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH0sXHJcbiAgICByZXNvbHZlOiB7XHJcbiAgICAgIGV4dGVuc2lvbnM6IFsnLm1qcycsICcuanMnLCAnLnRzJywgJy5qc3gnLCAnLnRzeCcsICcuanNvbicsICcubGVzcycsICcuY3NzJ10sXHJcbiAgICAgIGFsaWFzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgZmluZDogJ3Z1ZS1pMThuJyxcclxuICAgICAgICAgIHJlcGxhY2VtZW50OiAndnVlLWkxOG4vZGlzdC92dWUtaTE4bi5janMuanMnXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBmaW5kOiAvXFxAXFwvLyxcclxuICAgICAgICAgIHJlcGxhY2VtZW50OiBgJHtwYXRoUmVzb2x2ZSgnc3JjJyl9L2BcclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH0sXHJcbiAgICBlc2J1aWxkOiB7XHJcbiAgICAgIHB1cmU6IGVudi5WSVRFX0RST1BfQ09OU09MRSA9PT0gJ3RydWUnID8gWydjb25zb2xl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