-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js.timestamp-1721328695017-d78d46bdf0b81.mjs
81 lines (81 loc) · 7.08 KB
/
vite.config.js.timestamp-1721328695017-d78d46bdf0b81.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// vite.config.js
import { ViteImageOptimizer } from "file:///C:/gitPages/forecast/node_modules/vite-plugin-image-optimizer/dist/index.mjs";
import { defineConfig } from "file:///C:/gitPages/forecast/node_modules/vite/dist/node/index.js";
import { fileURLToPath, URL } from "node:url";
import vue from "file:///C:/gitPages/forecast/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Icons from "file:///C:/gitPages/forecast/node_modules/unplugin-icons/dist/vite.js";
import Components from "file:///C:/gitPages/forecast/node_modules/unplugin-vue-components/dist/vite.js";
import AutoImport from "file:///C:/gitPages/forecast/node_modules/unplugin-auto-import/dist/vite.js";
import IconsResolver from "file:///C:/gitPages/forecast/node_modules/unplugin-icons/dist/resolver.js";
import { PrimeVueResolver } from "file:///C:/gitPages/forecast/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_import_meta_url = "file:///C:/gitPages/forecast/vite.config.js";
var vite_config_default = defineConfig({
base: "/forecast/",
plugins: [
vue(),
ViteImageOptimizer({
svg: {
multipass: true,
plugins: [
{
name: "preset-default",
params: {
overrides: {
cleanupNumericValues: false,
removeViewBox: false
// https://github.com/svg/svgo/issues/1128
},
cleanupIDs: {
minify: false,
remove: false
},
convertPathData: false
}
},
"sortAttrs",
{
name: "addAttributesToSVGElement",
params: {
attributes: [{ xmlns: "http://www.w3.org/2000/svg" }]
}
}
]
},
png: {
quality: 100
},
jpeg: {
quality: 100
},
jpg: {
quality: 100
},
webp: {
lossless: true
}
}),
Components({ resolvers: [IconsResolver(), PrimeVueResolver()] }),
Icons({
/* options */
}),
AutoImport({
/* options */
})
],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
}
},
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "@/style/var.scss"; @import "@/style/adaptive.scss";`
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxnaXRQYWdlc1xcXFxmb3JlY2FzdFwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQzpcXFxcZ2l0UGFnZXNcXFxcZm9yZWNhc3RcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0M6L2dpdFBhZ2VzL2ZvcmVjYXN0L3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgVml0ZUltYWdlT3B0aW1pemVyIH0gZnJvbSBcInZpdGUtcGx1Z2luLWltYWdlLW9wdGltaXplclwiO1xuaW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSBcInZpdGVcIjtcbmltcG9ydCB7IGZpbGVVUkxUb1BhdGgsIFVSTCB9IGZyb20gXCJub2RlOnVybFwiO1xuaW1wb3J0IHZ1ZSBmcm9tIFwiQHZpdGVqcy9wbHVnaW4tdnVlXCI7XG5pbXBvcnQgSWNvbnMgZnJvbSBcInVucGx1Z2luLWljb25zL3ZpdGVcIjtcbmltcG9ydCBDb21wb25lbnRzIGZyb20gXCJ1bnBsdWdpbi12dWUtY29tcG9uZW50cy92aXRlXCI7XG5pbXBvcnQgQXV0b0ltcG9ydCBmcm9tIFwidW5wbHVnaW4tYXV0by1pbXBvcnQvdml0ZVwiO1xuaW1wb3J0IEljb25zUmVzb2x2ZXIgZnJvbSBcInVucGx1Z2luLWljb25zL3Jlc29sdmVyXCI7XG5pbXBvcnQgeyBQcmltZVZ1ZVJlc29sdmVyIH0gZnJvbSBcInVucGx1Z2luLXZ1ZS1jb21wb25lbnRzL3Jlc29sdmVyc1wiO1xuXG5cbi8vIGh0dHBzOi8vdml0ZWpzLmRldi9jb25maWcvXG5leHBvcnQgZGVmYXVsdCBkZWZpbmVDb25maWcoe1xuICBiYXNlOiBcIi9mb3JlY2FzdC9cIixcbiAgcGx1Z2luczogW1xuICAgIHZ1ZSgpLFxuICAgIFZpdGVJbWFnZU9wdGltaXplcih7XG4gICAgICBzdmc6IHtcbiAgICAgICAgbXVsdGlwYXNzOiB0cnVlLFxuICAgICAgICBwbHVnaW5zOiBbXG4gICAgICAgICAge1xuICAgICAgICAgICAgbmFtZTogXCJwcmVzZXQtZGVmYXVsdFwiLFxuICAgICAgICAgICAgcGFyYW1zOiB7XG4gICAgICAgICAgICAgIG92ZXJyaWRlczoge1xuICAgICAgICAgICAgICAgIGNsZWFudXBOdW1lcmljVmFsdWVzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZW1vdmVWaWV3Qm94OiBmYWxzZSwgLy8gaHR0cHM6Ly9naXRodWIuY29tL3N2Zy9zdmdvL2lzc3Vlcy8xMTI4XG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIGNsZWFudXBJRHM6IHtcbiAgICAgICAgICAgICAgICBtaW5pZnk6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlbW92ZTogZmFsc2UsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIGNvbnZlcnRQYXRoRGF0YTogZmFsc2UsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH0sXG4gICAgICAgICAgXCJzb3J0QXR0cnNcIixcbiAgICAgICAgIC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