-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts.timestamp-1706415254552-dd4df01635e72.mjs
46 lines (44 loc) · 8.51 KB
/
vite.config.ts.timestamp-1706415254552-dd4df01635e72.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
// vite.config.ts
import { join, resolve } from 'node:path';
import react from 'file:///Users/aaron/Code/projects/react-simple-image-zoom-v2/react-siz-v4/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vitejs/plugin-react-swc/index.mjs';
import { defineConfig } from 'file:///Users/aaron/Code/projects/react-simple-image-zoom-v2/react-siz-v4/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/index.js';
import dts from 'file:///Users/aaron/Code/projects/react-simple-image-zoom-v2/react-siz-v4/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite-plugin-dts/dist/index.mjs';
// package.json
var peerDependencies = {
react: '^18.2.0',
'react-dom': '^18.2.0',
};
// vite.config.ts
var __vite_injected_original_dirname =
'/Users/aaron/Code/projects/react-simple-image-zoom-v2/react-siz-v4';
var vite_config_default = defineConfig({
plugins: [
react(),
dts({ rollupTypes: true }),
// Output .d.ts files
],
build: {
target: 'esnext',
minify: false,
lib: {
entry: resolve(__vite_injected_original_dirname, join('lib', 'index.ts')),
fileName: 'index',
formats: ['es', 'cjs'],
},
rollupOptions: {
// Exclude peer dependencies from the bundle to reduce bundle size
external: ['react/jsx-runtime', ...Object.keys(peerDependencies)],
},
},
test: {
globals: true,
environment: 'jsdom',
setupFiles: './lib/test/setup.ts',
coverage: {
all: false,
enabled: true,
},
},
});
export { vite_config_default as default };
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAicGFja2FnZS5qc29uIl0sCiAgInNvdXJjZXNDb250ZW50Ijog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