config.ts 628 B

12345678910111213141516171819
  1. export const config = {
  2. host: 'http://58.144.197.158:19980/remotePublish',
  3. // host: 'http://36.133.176.76:19980/remotePublish',
  4. sourceFolder: 'dist',
  5. destFoler: 'skyeye-admin',
  6. reservedFiles: ['app.config.js'],
  7. };
  8. export interface Config {
  9. host: string;
  10. sourceFolder: string;
  11. destFoler: string;
  12. /**
  13. * 一些配置文件,比如app.config.js,每个项目可能不同。所以每次打包部署的时候,不需要替换,用它原来的即可。
  14. * 这个配置文件,每次备份之前先备份该文件,然后加压缩后再还原出来。
  15. */
  16. reservedFiles?: string[];
  17. }