您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

constants.js 706B

12345678910111213141516171819
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const os = require("os");
  4. exports.EOL = os.EOL;
  5. exports.CarriageReturnLineFeed = '\r\n';
  6. exports.LineFeed = '\n';
  7. exports.CarriageReturnLineFeedCode = 0;
  8. exports.LineFeedCode = 1;
  9. exports.extensionRegex = /\.[^.]+$/;
  10. exports.tsxRegex = /\.tsx$/i;
  11. exports.tsTsxRegex = /\.ts(x?)$/i;
  12. exports.dtsDtsxOrDtsDtsxMapRegex = /\.d\.ts(x?)(\.map)?$/i;
  13. exports.dtsTsTsxRegex = /(\.d)?\.ts(x?)$/i;
  14. exports.dtsTsTsxJsJsxRegex = /((\.d)?\.ts(x?)|js(x?))$/i;
  15. exports.tsTsxJsJsxRegex = /\.tsx?$|\.jsx?$/i;
  16. exports.jsJsx = /\.js(x?)$/i;
  17. exports.jsJsxMap = /\.js(x?)\.map$/i;
  18. exports.jsonRegex = /\.json$/i;
  19. exports.nodeModules = /node_modules/i;