mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-03 19:36:20 +00:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			435 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			435 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								// eslint-disable-next-line import/no-extraneous-dependencies
							 | 
						||
| 
								 | 
							
								import { defineConfig } from '@strapi/pack-up';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export default defineConfig({
							 | 
						||
| 
								 | 
							
								  externals: [
							 | 
						||
| 
								 | 
							
								    /**
							 | 
						||
| 
								 | 
							
								     * Knex dependencies, if we don't mark these as external
							 | 
						||
| 
								 | 
							
								     * they will be included in the bundle which means they
							 | 
						||
| 
								 | 
							
								     * will fail...
							 | 
						||
| 
								 | 
							
								     */
							 | 
						||
| 
								 | 
							
								    'knex/lib/dialects/sqlite3/index',
							 | 
						||
| 
								 | 
							
								    'knex/lib/query/querybuilder',
							 | 
						||
| 
								 | 
							
								    'knex/lib/raw',
							 | 
						||
| 
								 | 
							
								  ],
							 | 
						||
| 
								 | 
							
								  runtime: 'node',
							 | 
						||
| 
								 | 
							
								});
							 |