constant.ts 510 B

1234567891011121314151617
  1. /**
  2. * The name of the configuration file entered in the production environment
  3. */
  4. export const GLOB_CONFIG_FILE_NAME = 'app.config.js';
  5. export const OUTPUT_DIR = 'dist';
  6. /** The file suffix that need to been serve staticly */
  7. export const STATIC_SERVED_FILE_SUFFIX = ['.html'];
  8. /** Content-Type for each suffix */
  9. export const CONTENT_TYPE_MAP = new Map([
  10. ['.html', 'text/html'],
  11. ['.css', 'text/css'],
  12. ['.js', 'text/javascript'],
  13. ['.json', 'application/json'],
  14. ['.wasm', 'application/wasm'],
  15. ]);