We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c03b7 commit b8d6afaCopy full SHA for b8d6afa
packages/create-mcp-kit/rolldown.config.ts
@@ -1,6 +1,6 @@
1
import terser from '@rollup/plugin-terser'
2
-import { defineConfig } from 'rolldown'
3
import typescript from '@rollup/plugin-typescript'
+import { defineConfig } from 'rolldown'
4
5
const isProd = process.env.NODE_ENV === 'production'
6
const isDev = process.env.NODE_ENV === 'local'
@@ -14,11 +14,8 @@ export default defineConfig({
14
},
15
plugins: [isProd && terser(), typescript()],
16
external: [
17
- 'path',
18
- 'url',
19
- 'fs/promises',
20
- 'timers/promises',
21
- 'child_process',
+ ...builtinModules,
+ ...builtinModules.map(m => `node:${m}`),
22
'@clack/prompts',
23
'picocolors',
24
'handlebars',
0 commit comments