增加打包配置设置

This commit is contained in:
2022-11-26 10:23:43 +08:00
parent 9a04549c86
commit f4ff7eb1fb
3 changed files with 15 additions and 7 deletions

View File

@@ -29,16 +29,18 @@ return [
'/config.php/',
'/^public\/index\.php/',
'/^public\/router\.php/',
'/^app\/admin\/service\/initAdminData\/*/',
],
// 希望将env打包的文件
'pack_env_path'=>[
'pack_env_path' => [
'/^app/',
'/^config/',
'/^database/',
'/^extend/',
'/^lib/',
'/^route/',
]
],
// 0:base64方式处理,1:明文打包
'pack_env_mode' => 1
];