generated from tailored/router-template
	add check port and change process
This commit is contained in:
		| @@ -8,7 +8,7 @@ import replace from '@rollup/plugin-replace'; | ||||
| import pkgs from './package.json' with {type: 'json'}; | ||||
|  | ||||
| const isDev = process.env.NODE_ENV === 'development'; | ||||
| const input = isDev ? './src/dev.ts' : './src/index.ts'; | ||||
| const input = isDev ? './src/dev.ts' : './src/main.ts'; | ||||
| /** | ||||
|  * @type {import('rollup').RollupOptions} | ||||
|  */ | ||||
| @@ -64,8 +64,8 @@ const config = { | ||||
|     json(), | ||||
|   ], | ||||
|   external: [ | ||||
|     /@kevisual\/router(\/.*)?/, //, // 路由 | ||||
|     /@kevisual\/use-config(\/.*)?/, // | ||||
|     // /@kevisual\/router(\/.*)?/, //, // 路由 | ||||
|     // /@kevisual\/use-config(\/.*)?/, // | ||||
|  | ||||
|     // 'sequelize', // 数据库 orm | ||||
|     // 'ioredis', // redis | ||||
|   | ||||
		Reference in New Issue
	
	Block a user