You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

4 years ago
  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. corejs: "corejs",
  9. debug: "debug",
  10. exclude: "exclude",
  11. forceAllTransforms: "forceAllTransforms",
  12. ignoreBrowserslistConfig: "ignoreBrowserslistConfig",
  13. include: "include",
  14. loose: "loose",
  15. modules: "modules",
  16. shippedProposals: "shippedProposals",
  17. spec: "spec",
  18. targets: "targets",
  19. useBuiltIns: "useBuiltIns"
  20. };
  21. exports.TopLevelOptions = TopLevelOptions;
  22. const ModulesOption = {
  23. false: false,
  24. auto: "auto",
  25. amd: "amd",
  26. commonjs: "commonjs",
  27. cjs: "cjs",
  28. systemjs: "systemjs",
  29. umd: "umd"
  30. };
  31. exports.ModulesOption = ModulesOption;
  32. const UseBuiltInsOption = {
  33. false: false,
  34. entry: "entry",
  35. usage: "usage"
  36. };
  37. exports.UseBuiltInsOption = UseBuiltInsOption;
  38. const TargetNames = {
  39. esmodules: "esmodules",
  40. node: "node",
  41. browsers: "browsers",
  42. chrome: "chrome",
  43. opera: "opera",
  44. edge: "edge",
  45. firefox: "firefox",
  46. safari: "safari",
  47. ie: "ie",
  48. ios: "ios",
  49. android: "android",
  50. electron: "electron",
  51. samsung: "samsung",
  52. uglify: "uglify"
  53. };
  54. exports.TargetNames = TargetNames;