-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js.timestamp-1684310170243.mjs
39 lines (39 loc) · 3.91 KB
/
vite.config.js.timestamp-1684310170243.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
// vite.config.js
import { defineConfig } from "file:///C:/Users/Armghan%20Khalid/Videos/JS/aero-drive/node_modules/vite/dist/node/index.js";
import react from "file:///C:/Users/Armghan%20Khalid/Videos/JS/aero-drive/node_modules/@vitejs/plugin-react/dist/index.mjs";
import UnoCSS from "file:///C:/Users/Armghan%20Khalid/Videos/JS/aero-drive/node_modules/unocss/dist/vite.mjs";
import path from "path";
var __vite_injected_original_dirname = "C:\\Users\\Armghan Khalid\\Videos\\JS\\aero-drive";
var vite_config_default = defineConfig(() => {
return {
plugins: [react(), UnoCSS()],
server: {
port: 3e3
},
esbuild: {
jsxFactory: "React.createElement",
jsxFragment: "React.Fragment"
},
main: "src/index.jsx",
base: "./",
resolve: {
alias: {
"~/": `${path.resolve(__vite_injected_original_dirname, "src")}/`
}
}
// Use Babel to transpile your code
// This will enable support for JSX syntax
// as well as any other ES6+ syntax that
// may not be natively supported by the browser
// or the version of Node.js you are using
// optimizeDeps: {
// include: ["@babel/preset-react"],
// },
// dependencies :{
// }
};
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxBcm1naGFuIEtoYWxpZFxcXFxWaWRlb3NcXFxcSlNcXFxcYWVyby1kcml2ZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQzpcXFxcVXNlcnNcXFxcQX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