You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
381 B

import { fileURLToPath } from 'node:url';
import { defineConfig } from 'rolldown';
export default defineConfig({
input: fileURLToPath(new URL('./index.ts', import.meta.url)),
output: {
format: 'esm',
file: fileURLToPath(new URL('../.output/server/cli.mjs', import.meta.url)),
},
platform: 'node',
external: [/^[^./]|^\.[^./]|^\.\.[^/]/],
logLevel: 'info',
});