options.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.TargetNames = exports.UseBuiltInsOption = exports.ModulesOption = exports.TopLevelOptions = void 0;
  6. const TopLevelOptions = {
  7. configPath: "configPath",
  8. debug: "debug",
  9. exclude: "exclude",
  10. forceAllTransforms: "forceAllTransforms",
  11. ignoreBrowserslistConfig: "ignoreBrowserslistConfig",
  12. include: "include",
  13. loose: "loose",
  14. modules: "modules",
  15. shippedProposals: "shippedProposals",
  16. spec: "spec",
  17. targets: "targets",
  18. useBuiltIns: "useBuiltIns"
  19. };
  20. exports.TopLevelOptions = TopLevelOptions;
  21. const ModulesOption = {
  22. false: false,
  23. auto: "auto",
  24. amd: "amd",
  25. commonjs: "commonjs",
  26. cjs: "cjs",
  27. systemjs: "systemjs",
  28. umd: "umd"
  29. };
  30. exports.ModulesOption = ModulesOption;
  31. const UseBuiltInsOption = {
  32. false: false,
  33. entry: "entry",
  34. usage: "usage"
  35. };
  36. exports.UseBuiltInsOption = UseBuiltInsOption;
  37. const TargetNames = {
  38. esmodules: "esmodules",
  39. node: "node",
  40. browsers: "browsers",
  41. chrome: "chrome",
  42. opera: "opera",
  43. edge: "edge",
  44. firefox: "firefox",
  45. safari: "safari",
  46. ie: "ie",
  47. ios: "ios",
  48. android: "android",
  49. electron: "electron"
  50. };
  51. exports.TargetNames = TargetNames;