mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00

* feat: add ability to pass config & have tsconfig per bundle * feat: use node:module builtinModules for node stuff * chore: remove builtins from externals
18 lines
310 B
TypeScript
18 lines
310 B
TypeScript
/**
|
|
* Can this be imported from the package...?
|
|
*/
|
|
import { defineConfig } from './src';
|
|
|
|
export default defineConfig({
|
|
bundles: [
|
|
{
|
|
source: './src/cli/index.ts',
|
|
require: './dist/cli.js',
|
|
},
|
|
],
|
|
externals: ['node:module'],
|
|
runtime: 'node',
|
|
minify: false,
|
|
sourcemap: true,
|
|
});
|