-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts.timestamp-1706313755378-768a2fa2a7623.mjs
45 lines (43 loc) · 8.45 KB
/
vite.config.ts.timestamp-1706313755378-768a2fa2a7623.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
// 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: {
environment: 'jsdom',
setupFiles: './lib/test/setup.ts',
coverage: {
all: false,
enabled: true,
},
},
});
export { vite_config_default as default };
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAicGFja2FnZS5qc29uIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25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