-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvite.config.ts.timestamp-1722244549199-bdb88ada98d4d.mjs
34 lines (34 loc) · 3.13 KB
/
vite.config.ts.timestamp-1722244549199-bdb88ada98d4d.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
// vite.config.ts
import {
defineConfig,
loadEnv,
} from 'file:///home/ricka/Ricka/project/harena/harena-web/node_modules/vite/dist/node/index.js';
import react from 'file:///home/ricka/Ricka/project/harena/harena-web/node_modules/@vitejs/plugin-react/dist/index.mjs';
import istanbul from 'file:///home/ricka/Ricka/project/harena/harena-web/node_modules/vite-plugin-istanbul/dist/index.mjs';
import path from 'path';
var __vite_injected_original_dirname =
'/home/ricka/Ricka/project/harena/harena-web';
var vite_config_default = defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
return {
define: {
'process.env': env,
},
plugins: [
istanbul({
extension: ['.js', '.ts', '.jsx', '.tsx'],
requireEnv: false,
nycrcPath: './.nycrc.json',
cypress: true,
}),
react(),
],
resolve: {
alias: {
'@': path.resolve(__vite_injected_original_dirname, './src'),
},
},
};
});
export { vite_config_default as default };
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9yaWNrYS9SaWNrYS9wcm9qZWN0L2hhcmVuYS9oYXJlbmEtd2ViXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCIvaG9tZS9yaWNrYS9SaWNrYS9wcm9qZWN0L2hhcmVuYS9oYXJlbmEtd2ViL3ZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF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