mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	 25d1ceaa44
			
		
	
	
		25d1ceaa44
		
			
		
	
	
	
	
		
			
			* feat: add ability to pass config & have tsconfig per bundle * feat: use node:module builtinModules for node stuff * chore: remove builtins from externals
		
			
				
	
	
		
			15 lines
		
	
	
		
			349 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			349 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| // eslint-disable-next-line import/no-extraneous-dependencies
 | |
| import { defineConfig } from '@strapi/pack-up';
 | |
| 
 | |
| export default defineConfig({
 | |
|   bundles: [
 | |
|     {
 | |
|       source: './src/create-strapi-app.ts',
 | |
|       import: './dist/create-strapi-app.mjs',
 | |
|       require: './dist/create-strapi-app.js',
 | |
|     },
 | |
|   ],
 | |
|   dist: './dist',
 | |
|   runtime: 'node',
 | |
| });
 |