-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.mts.timestamp-1716108522626-db04b538db039.mjs
72 lines (72 loc) · 6.26 KB
/
vite.config.mts.timestamp-1716108522626-db04b538db039.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
// vite.config.mts
import path from "path";
import { defineConfig } from "file:///H:/projetos/canva-clone/node_modules/vite/dist/node/index.js";
import vue from "file:///H:/projetos/canva-clone/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Icons from "file:///H:/projetos/canva-clone/node_modules/unplugin-icons/dist/vite.js";
import IconsResolve from "file:///H:/projetos/canva-clone/node_modules/unplugin-icons/dist/resolver.js";
import Components from "file:///H:/projetos/canva-clone/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///H:/projetos/canva-clone/node_modules/unplugin-vue-components/dist/resolvers.js";
import Unocss from "file:///H:/projetos/canva-clone/node_modules/unocss/dist/vite.mjs";
import {
presetAttributify,
presetIcons,
presetUno,
transformerDirectives,
transformerVariantGroup
} from "file:///H:/projetos/canva-clone/node_modules/unocss/dist/index.mjs";
var __vite_injected_original_dirname = "H:\\projetos\\canva-clone";
var pathSrc = path.resolve(__vite_injected_original_dirname, "src");
var vite_config_default = defineConfig({
resolve: {
alias: {
"~/": `${pathSrc}/`
}
},
css: {
preprocessorOptions: {
scss: {
additionalData: `@use "~/styles/element/index.scss" as *;`
}
}
},
plugins: [
vue(),
Components({
// allow auto load markdown components under `./src/components/`
extensions: ["vue", "md"],
// allow auto import and register components used in markdown
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
resolvers: [
ElementPlusResolver({
importStyle: "sass"
}),
IconsResolve()
],
dts: "src/components.d.ts"
}),
// https://github.com/antfu/unocss
// see unocss.config.ts for config
Unocss({
presets: [
presetUno(),
presetAttributify(),
presetIcons({
scale: 1.2,
warn: true
})
],
transformers: [
transformerDirectives(),
transformerVariantGroup()
]
}),
Icons({
compiler: "vue3",
autoInstall: true
})
]
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcubXRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiSDpcXFxccHJvamV0b3NcXFxcY2FudmEtY2xvbmVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkg6XFxcXHByb2pldG9zXFxcXGNhbnZhLWNsb25lXFxcXHZpdGUuY29uZmlnLm10c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vSDovcHJvamV0b3MvY2FudmEtY2xvbmUvdml0ZS5jb25maWcubXRzXCI7aW1wb3J0IHBhdGggZnJvbSAncGF0aCdcbmltcG9ydCB7IGRlZmluZUNvbmZpZyB9IGZyb20gJ3ZpdGUnXG5pbXBvcnQgdnVlIGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZSdcblxuaW1wb3J0IEljb25zIGZyb20gJ3VucGx1Z2luLWljb25zL3ZpdGUnXG5pbXBvcnQgSWNvbnNSZXNvbHZlIGZyb20gJ3VucGx1Z2luLWljb25zL3Jlc29sdmVyJ1xuXG5pbXBvcnQgQ29tcG9uZW50cyBmcm9tICd1bnBsdWdpbi12dWUtY29tcG9uZW50cy92aXRlJ1xuaW1wb3J0IHsgRWxlbWVudFBsdXNSZXNvbHZlciB9IGZyb20gJ3VucGx1Z2luLXZ1ZS1jb21wb25lbnRzL3Jlc29sdmVycydcblxuaW1wb3J0IFVub2NzcyBmcm9tICd1bm9jc3Mvdml0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