-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsdown.config.js
More file actions
41 lines (34 loc) · 664 Bytes
/
Copy pathtsdown.config.js
File metadata and controls
41 lines (34 loc) · 664 Bytes
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
import { fileURLToPath } from 'node:url'
export { tsdownConfig as default }
/** @type {import('tsdown').UserConfig} */
const tsdownConfig = {
entry: {
index: 'src/index.ts',
'adapters/*': 'src/adapters/*',
},
alias: {
'#': fileURLToPath(new URL('src', import.meta.url)),
},
dts: {
tsconfig: 'tsconfig.build.json',
},
deps: {
onlyBundle: [],
neverBundle: [
'@farmfe/core',
'@nuxt/kit',
'@nuxt/schema',
'esbuild',
'rollup',
'vite',
'webpack',
//
],
},
outputOptions: {
exports: 'named',
},
minify: true,
fixedExtension: false,
format: ['esm', 'cjs'],
}