tailwindcss 0.0.0-oxide-insiders.a7fe2fe → 0.0.0-oxide-insiders.7f555c4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/lib/cli/build/deps.js +34 -18
  2. package/lib/cli/build/index.js +45 -12
  3. package/lib/cli/build/plugin.js +273 -90
  4. package/lib/cli/build/utils.js +56 -24
  5. package/lib/cli/build/watching.js +156 -38
  6. package/lib/cli/help/index.js +61 -16
  7. package/lib/cli/index.js +121 -62
  8. package/lib/cli/init/index.js +47 -23
  9. package/lib/cli-peer-dependencies.js +23 -13
  10. package/lib/cli.js +5 -1
  11. package/lib/corePluginList.js +7 -4
  12. package/lib/corePlugins.js +855 -386
  13. package/lib/featureFlags.js +43 -18
  14. package/lib/lib/cacheInvalidation.js +78 -30
  15. package/lib/lib/collapseAdjacentRules.js +46 -23
  16. package/lib/lib/collapseDuplicateDeclarations.js +70 -27
  17. package/lib/lib/content.js +134 -41
  18. package/lib/lib/defaultExtractor.js +201 -96
  19. package/lib/lib/detectNesting.js +38 -12
  20. package/lib/lib/evaluateTailwindFunctions.js +192 -103
  21. package/lib/lib/expandApplyAtRules.js +488 -181
  22. package/lib/lib/expandTailwindAtRules.js +240 -70
  23. package/lib/lib/findAtConfigPath.js +34 -15
  24. package/lib/lib/generateRules.js +775 -353
  25. package/lib/lib/getModuleDependencies.js +67 -29
  26. package/lib/lib/load-config.js +27 -17
  27. package/lib/lib/normalizeTailwindDirectives.js +73 -27
  28. package/lib/lib/offsets.js +227 -62
  29. package/lib/lib/partitionApplyAtRules.js +53 -29
  30. package/lib/lib/regex.js +50 -28
  31. package/lib/lib/remap-bitfield.js +86 -9
  32. package/lib/lib/resolveDefaultsAtRules.js +123 -53
  33. package/lib/lib/setupContextUtils.js +1117 -584
  34. package/lib/lib/setupTrackingContext.js +149 -58
  35. package/lib/lib/sharedState.js +71 -23
  36. package/lib/lib/substituteScreenAtRules.js +19 -9
  37. package/lib/oxide/cli/build/deps.js +46 -23
  38. package/lib/oxide/cli/build/index.js +44 -12
  39. package/lib/oxide/cli/build/plugin.js +271 -89
  40. package/lib/oxide/cli/build/utils.js +55 -24
  41. package/lib/oxide/cli/build/watching.js +153 -36
  42. package/lib/oxide/cli/help/index.js +60 -16
  43. package/lib/oxide/cli/index.js +128 -67
  44. package/lib/oxide/cli/init/index.js +40 -19
  45. package/lib/oxide/cli.js +3 -2
  46. package/lib/plugin.js +58 -31
  47. package/lib/postcss-plugins/nesting/index.js +13 -7
  48. package/lib/postcss-plugins/nesting/plugin.js +65 -20
  49. package/lib/processTailwindFeatures.js +41 -10
  50. package/lib/public/colors.js +25 -16
  51. package/lib/public/create-plugin.js +11 -6
  52. package/lib/public/default-config.js +12 -6
  53. package/lib/public/default-theme.js +12 -6
  54. package/lib/public/load-config.js +9 -5
  55. package/lib/public/resolve-config.js +10 -6
  56. package/lib/util/applyImportantSelector.js +28 -17
  57. package/lib/util/bigSign.js +9 -6
  58. package/lib/util/buildMediaQuery.js +19 -10
  59. package/lib/util/cloneDeep.js +19 -9
  60. package/lib/util/cloneNodes.js +29 -14
  61. package/lib/util/color.js +87 -47
  62. package/lib/util/colorNames.js +752 -0
  63. package/lib/util/configurePlugins.js +18 -9
  64. package/lib/util/createPlugin.js +17 -8
  65. package/lib/util/createUtilityPlugin.js +30 -16
  66. package/lib/util/dataTypes.js +189 -38
  67. package/lib/util/defaults.js +21 -9
  68. package/lib/util/escapeClassName.js +15 -9
  69. package/lib/util/escapeCommas.js +9 -6
  70. package/lib/util/flattenColorPalette.js +11 -7
  71. package/lib/util/formatVariantSelector.js +209 -60
  72. package/lib/util/getAllConfigs.js +44 -35
  73. package/lib/util/hashConfig.js +12 -8
  74. package/lib/util/isKeyframeRule.js +10 -7
  75. package/lib/util/isPlainObject.js +14 -9
  76. package/lib/util/isSyntacticallyValidPropertyValue.js +45 -14
  77. package/lib/util/log.js +20 -9
  78. package/lib/util/nameClass.js +31 -10
  79. package/lib/util/negateValue.js +28 -10
  80. package/lib/util/normalizeConfig.js +242 -63
  81. package/lib/util/normalizeScreens.js +145 -70
  82. package/lib/util/parseAnimationValue.js +64 -14
  83. package/lib/util/parseBoxShadowValue.js +63 -14
  84. package/lib/util/parseDependency.js +39 -13
  85. package/lib/util/parseGlob.js +25 -8
  86. package/lib/util/parseObjectStyles.js +29 -18
  87. package/lib/util/pluginUtils.js +196 -77
  88. package/lib/util/prefixSelector.js +31 -12
  89. package/lib/util/pseudoElements.js +116 -34
  90. package/lib/util/removeAlphaVariables.js +23 -8
  91. package/lib/util/resolveConfig.js +224 -105
  92. package/lib/util/resolveConfigPath.js +45 -15
  93. package/lib/util/responsive.js +10 -6
  94. package/lib/util/splitAtTopLevelOnly.js +46 -10
  95. package/lib/util/tap.js +11 -7
  96. package/lib/util/toColorValue.js +10 -7
  97. package/lib/util/toPath.js +28 -8
  98. package/lib/util/transformThemeValue.js +49 -14
  99. package/lib/util/validateConfig.js +25 -15
  100. package/lib/util/validateFormalSyntax.js +14 -6
  101. package/lib/util/withAlphaVariable.js +54 -30
  102. package/package.json +18 -22
  103. package/peers/index.js +57849 -43101
  104. package/src/lib/expandTailwindAtRules.js +1 -1
  105. package/src/lib/setupTrackingContext.js +1 -1
  106. package/src/util/color.js +1 -1
  107. package/src/util/colorNames.js +150 -0
  108. package/src/util/pseudoElements.js +4 -4
package/lib/cli/index.js CHANGED
@@ -1,23 +1,30 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", {
4
- value: !0
4
+ value: true
5
5
  });
6
- const _path = _interopRequireDefault(require("path")), _arg = _interopRequireDefault(require("arg")), _fs = _interopRequireDefault(require("fs")), _build = require("./build"), _help = require("./help"), _init = require("./init");
7
- function _interopRequireDefault(obj) {
6
+ const _path = /*#__PURE__*/ _interop_require_default(require("path"));
7
+ const _arg = /*#__PURE__*/ _interop_require_default(require("arg"));
8
+ const _fs = /*#__PURE__*/ _interop_require_default(require("fs"));
9
+ const _build = require("./build");
10
+ const _help = require("./help");
11
+ const _init = require("./init");
12
+ function _interop_require_default(obj) {
8
13
  return obj && obj.__esModule ? obj : {
9
14
  default: obj
10
15
  };
11
16
  }
12
17
  function oneOf(...options) {
13
- return Object.assign((value = !0)=>{
18
+ return Object.assign((value = true)=>{
14
19
  for (let option of options){
15
20
  let parsed = option(value);
16
- if (parsed === value) return parsed;
21
+ if (parsed === value) {
22
+ return parsed;
23
+ }
17
24
  }
18
- throw Error("...");
25
+ throw new Error("...");
19
26
  }, {
20
- manualParsing: !0
27
+ manualParsing: true
21
28
  });
22
29
  }
23
30
  let commands = {
@@ -26,19 +33,19 @@ let commands = {
26
33
  args: {
27
34
  "--esm": {
28
35
  type: Boolean,
29
- description: "Initialize configuration file as ESM"
36
+ description: `Initialize configuration file as ESM`
30
37
  },
31
38
  "--ts": {
32
39
  type: Boolean,
33
- description: "Initialize configuration file as TypeScript"
40
+ description: `Initialize configuration file as TypeScript`
34
41
  },
35
42
  "--postcss": {
36
43
  type: Boolean,
37
- description: "Initialize a `postcss.config.js` file"
44
+ description: `Initialize a \`postcss.config.js\` file`
38
45
  },
39
46
  "--full": {
40
47
  type: Boolean,
41
- description: "Include the default values for all options in the generated configuration file"
48
+ description: `Include the default values for all options in the generated configuration file`
42
49
  },
43
50
  "-f": "--full",
44
51
  "-p": "--postcss"
@@ -69,7 +76,7 @@ let commands = {
69
76
  },
70
77
  "--purge": {
71
78
  type: String,
72
- deprecated: !0
79
+ deprecated: true
73
80
  },
74
81
  "--postcss": {
75
82
  type: oneOf(String, Boolean),
@@ -95,77 +102,129 @@ let commands = {
95
102
  "-p": "--poll"
96
103
  }
97
104
  }
98
- }, sharedFlags = {
105
+ };
106
+ let sharedFlags = {
99
107
  "--help": {
100
108
  type: Boolean,
101
109
  description: "Display usage information"
102
110
  },
103
111
  "-h": "--help"
104
112
  };
105
- process.stdout.isTTY && (void 0 === process.argv[2] || process.argv.slice(2).every((flag)=>void 0 !== sharedFlags[flag])) && ((0, _help.help)({
106
- usage: [
107
- "tailwindcss [--input input.css] [--output output.css] [--watch] [options...]",
108
- "tailwindcss init [--full] [--postcss] [options...]"
109
- ],
110
- commands: Object.keys(commands).filter((command)=>"build" !== command).map((command)=>`${command} [options]`),
111
- options: {
112
- ...commands.build.args,
113
- ...sharedFlags
113
+ if (process.stdout.isTTY /* Detect redirecting output to a file */ && (process.argv[2] === undefined || process.argv.slice(2).every((flag)=>sharedFlags[flag] !== undefined))) {
114
+ (0, _help.help)({
115
+ usage: [
116
+ "tailwindcss [--input input.css] [--output output.css] [--watch] [options...]",
117
+ "tailwindcss init [--full] [--postcss] [options...]"
118
+ ],
119
+ commands: Object.keys(commands).filter((command)=>command !== "build").map((command)=>`${command} [options]`),
120
+ options: {
121
+ ...commands.build.args,
122
+ ...sharedFlags
123
+ }
124
+ });
125
+ process.exit(0);
126
+ }
127
+ let command = ((arg = "")=>arg.startsWith("-") ? undefined : arg)(process.argv[2]) || "build";
128
+ if (commands[command] === undefined) {
129
+ if (_fs.default.existsSync(_path.default.resolve(command))) {
130
+ // TODO: Deprecate this in future versions
131
+ // Check if non-existing command, might be a file.
132
+ command = "build";
133
+ } else {
134
+ (0, _help.help)({
135
+ message: `Invalid command: ${command}`,
136
+ usage: [
137
+ "tailwindcss <command> [options]"
138
+ ],
139
+ commands: Object.keys(commands).filter((command)=>command !== "build").map((command)=>`${command} [options]`),
140
+ options: sharedFlags
141
+ });
142
+ process.exit(1);
114
143
  }
115
- }), process.exit(0));
116
- let command = ((arg = "")=>arg.startsWith("-") ? void 0 : arg)(process.argv[2]) || "build";
117
- void 0 === commands[command] && (_fs.default.existsSync(_path.default.resolve(command)) ? command = "build" : ((0, _help.help)({
118
- message: `Invalid command: ${command}`,
119
- usage: [
120
- "tailwindcss <command> [options]"
121
- ],
122
- commands: Object.keys(commands).filter((command)=>"build" !== command).map((command)=>`${command} [options]`),
123
- options: sharedFlags
124
- }), process.exit(1)));
125
- let { args: flags , run } = commands[command], args = (()=>{
144
+ }
145
+ // Execute command
146
+ let { args: flags , run } = commands[command];
147
+ let args = (()=>{
126
148
  try {
127
149
  let result = (0, _arg.default)(Object.fromEntries(Object.entries({
128
150
  ...flags,
129
151
  ...sharedFlags
130
152
  }).filter(([_key, value])=>{
131
153
  var _value_type;
132
- return !(null == value ? void 0 : null === (_value_type = value.type) || void 0 === _value_type ? void 0 : _value_type.manualParsing);
154
+ return !(value === null || value === void 0 ? void 0 : (_value_type = value.type) === null || _value_type === void 0 ? void 0 : _value_type.manualParsing);
133
155
  }).map(([key, value])=>[
134
156
  key,
135
- "object" == typeof value ? value.type : value
157
+ typeof value === "object" ? value.type : value
136
158
  ])), {
137
- permissive: !0
159
+ permissive: true
138
160
  });
139
- for(let i = result._.length - 1; i >= 0; --i){
140
- let flag = result._[i];
161
+ // Manual parsing of flags to allow for special flags like oneOf(Boolean, String)
162
+ for(let i = result["_"].length - 1; i >= 0; --i){
163
+ let flag = result["_"][i];
141
164
  if (!flag.startsWith("-")) continue;
142
- let [flagName, flagValue] = flag.split("="), handler = flags[flagName];
143
- for(; "string" == typeof handler;)flagName = handler, handler = flags[handler];
165
+ let [flagName, flagValue] = flag.split("=");
166
+ let handler = flags[flagName];
167
+ // Resolve flagName & handler
168
+ while(typeof handler === "string"){
169
+ flagName = handler;
170
+ handler = flags[handler];
171
+ }
144
172
  if (!handler) continue;
145
- let args = [], offset = i + 1;
146
- if (void 0 === flagValue) {
147
- for(; result._[offset] && !result._[offset].startsWith("-");)args.push(result._[offset++]);
148
- result._.splice(i, 1 + args.length), flagValue = 0 === args.length ? void 0 : 1 === args.length ? args[0] : args;
149
- } else result._.splice(i, 1);
173
+ let args = [];
174
+ let offset = i + 1;
175
+ // --flag value syntax was used so we need to pull `value` from `args`
176
+ if (flagValue === undefined) {
177
+ // Parse args for current flag
178
+ while(result["_"][offset] && !result["_"][offset].startsWith("-")){
179
+ args.push(result["_"][offset++]);
180
+ }
181
+ // Cleanup manually parsed flags + args
182
+ result["_"].splice(i, 1 + args.length);
183
+ // No args were provided, use default value defined in handler
184
+ // One arg was provided, use that directly
185
+ // Multiple args were provided so pass them all in an array
186
+ flagValue = args.length === 0 ? undefined : args.length === 1 ? args[0] : args;
187
+ } else {
188
+ // Remove the whole flag from the args array
189
+ result["_"].splice(i, 1);
190
+ }
191
+ // Set the resolved value in the `result` object
150
192
  result[flagName] = handler.type(flagValue, flagName);
151
193
  }
152
- return result._[0] !== command && result._.unshift(command), result;
194
+ // Ensure that the `command` is always the first argument in the `args`.
195
+ // This is important so that we don't have to check if a default command
196
+ // (build) was used or not from within each plugin.
197
+ //
198
+ // E.g.: tailwindcss input.css -> _: ['build', 'input.css']
199
+ // E.g.: tailwindcss build input.css -> _: ['build', 'input.css']
200
+ if (result["_"][0] !== command) {
201
+ result["_"].unshift(command);
202
+ }
203
+ return result;
153
204
  } catch (err) {
154
- throw "ARG_UNKNOWN_OPTION" === err.code && ((0, _help.help)({
155
- message: err.message,
156
- usage: [
157
- "tailwindcss <command> [options]"
158
- ],
159
- options: sharedFlags
160
- }), process.exit(1)), err;
205
+ if (err.code === "ARG_UNKNOWN_OPTION") {
206
+ (0, _help.help)({
207
+ message: err.message,
208
+ usage: [
209
+ "tailwindcss <command> [options]"
210
+ ],
211
+ options: sharedFlags
212
+ });
213
+ process.exit(1);
214
+ }
215
+ throw err;
161
216
  }
162
217
  })();
163
- args["--help"] && ((0, _help.help)({
164
- options: {
165
- ...flags,
166
- ...sharedFlags
167
- },
168
- usage: [
169
- `tailwindcss ${command} [options]`
170
- ]
171
- }), process.exit(0)), run(args);
218
+ if (args["--help"]) {
219
+ (0, _help.help)({
220
+ options: {
221
+ ...flags,
222
+ ...sharedFlags
223
+ },
224
+ usage: [
225
+ `tailwindcss ${command} [options]`
226
+ ]
227
+ });
228
+ process.exit(0);
229
+ }
230
+ run(args);
@@ -1,39 +1,63 @@
1
+ // @ts-check
1
2
  "use strict";
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: !0
4
- }), Object.defineProperty(exports, "init", {
5
- enumerable: !0,
6
- get: ()=>init
4
+ value: true
7
5
  });
8
- const _fs = _interopRequireDefault(require("fs")), _path = _interopRequireDefault(require("path"));
9
- function _interopRequireDefault(obj) {
6
+ Object.defineProperty(exports, "init", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return init;
10
+ }
11
+ });
12
+ const _fs = /*#__PURE__*/ _interop_require_default(require("fs"));
13
+ const _path = /*#__PURE__*/ _interop_require_default(require("path"));
14
+ function _interop_require_default(obj) {
10
15
  return obj && obj.__esModule ? obj : {
11
16
  default: obj
12
17
  };
13
18
  }
19
+ function isESM() {
20
+ const pkgPath = _path.default.resolve("./package.json");
21
+ try {
22
+ let pkg = JSON.parse(_fs.default.readFileSync(pkgPath, "utf8"));
23
+ return pkg.type && pkg.type === "module";
24
+ } catch (err) {
25
+ return false;
26
+ }
27
+ }
14
28
  function init(args) {
29
+ let messages = [];
30
+ let isProjectESM = args["--ts"] || args["--esm"] || isESM();
31
+ let syntax = args["--ts"] ? "ts" : isProjectESM ? "js" : "cjs";
32
+ let extension = args["--ts"] ? "ts" : "js";
15
33
  var _args___;
16
- let messages = [], isProjectESM = args["--ts"] || args["--esm"] || function() {
17
- let pkgPath = _path.default.resolve("./package.json");
18
- try {
19
- let pkg = JSON.parse(_fs.default.readFileSync(pkgPath, "utf8"));
20
- return pkg.type && "module" === pkg.type;
21
- } catch (err) {
22
- return !1;
23
- }
24
- }(), syntax = args["--ts"] ? "ts" : isProjectESM ? "js" : "cjs", extension = args["--ts"] ? "ts" : "js", tailwindConfigLocation = _path.default.resolve(null !== (_args___ = args._[1]) && void 0 !== _args___ ? _args___ : `./tailwind.config.${extension}`);
25
- if (_fs.default.existsSync(tailwindConfigLocation)) messages.push(`${_path.default.basename(tailwindConfigLocation)} already exists.`);
26
- else {
27
- let stubContentsFile = _fs.default.readFileSync(args["--full"] ? _path.default.resolve(__dirname, "../../../stubs/config.full.js") : _path.default.resolve(__dirname, "../../../stubs/config.simple.js"), "utf8"), stubFile = _fs.default.readFileSync(_path.default.resolve(__dirname, `../../../stubs/tailwind.config.${syntax}`), "utf8");
28
- stubContentsFile = stubContentsFile.replace("../colors", "tailwindcss/colors"), stubFile = stubFile.replace("__CONFIG__", stubContentsFile.replace("module.exports =", "").trim()).trim() + "\n\n", _fs.default.writeFileSync(tailwindConfigLocation, stubFile, "utf8"), messages.push(`Created Tailwind CSS config file: ${_path.default.basename(tailwindConfigLocation)}`);
34
+ let tailwindConfigLocation = _path.default.resolve((_args___ = args["_"][1]) !== null && _args___ !== void 0 ? _args___ : `./tailwind.config.${extension}`);
35
+ if (_fs.default.existsSync(tailwindConfigLocation)) {
36
+ messages.push(`${_path.default.basename(tailwindConfigLocation)} already exists.`);
37
+ } else {
38
+ let stubContentsFile = _fs.default.readFileSync(args["--full"] ? _path.default.resolve(__dirname, "../../../stubs/config.full.js") : _path.default.resolve(__dirname, "../../../stubs/config.simple.js"), "utf8");
39
+ let stubFile = _fs.default.readFileSync(_path.default.resolve(__dirname, `../../../stubs/tailwind.config.${syntax}`), "utf8");
40
+ // Change colors import
41
+ stubContentsFile = stubContentsFile.replace("../colors", "tailwindcss/colors");
42
+ // Replace contents of {ts,js,cjs} file with the stub {simple,full}.
43
+ stubFile = stubFile.replace("__CONFIG__", stubContentsFile.replace("module.exports =", "").trim()).trim() + "\n\n";
44
+ _fs.default.writeFileSync(tailwindConfigLocation, stubFile, "utf8");
45
+ messages.push(`Created Tailwind CSS config file: ${_path.default.basename(tailwindConfigLocation)}`);
29
46
  }
30
47
  if (args["--postcss"]) {
31
48
  let postcssConfigLocation = _path.default.resolve("./postcss.config.js");
32
- if (_fs.default.existsSync(postcssConfigLocation)) messages.push(`${_path.default.basename(postcssConfigLocation)} already exists.`);
33
- else {
49
+ if (_fs.default.existsSync(postcssConfigLocation)) {
50
+ messages.push(`${_path.default.basename(postcssConfigLocation)} already exists.`);
51
+ } else {
34
52
  let stubFile = _fs.default.readFileSync(isProjectESM ? _path.default.resolve(__dirname, "../../../stubs/postcss.config.js") : _path.default.resolve(__dirname, "../../../stubs/postcss.config.cjs"), "utf8");
35
- _fs.default.writeFileSync(postcssConfigLocation, stubFile, "utf8"), messages.push(`Created PostCSS config file: ${_path.default.basename(postcssConfigLocation)}`);
53
+ _fs.default.writeFileSync(postcssConfigLocation, stubFile, "utf8");
54
+ messages.push(`Created PostCSS config file: ${_path.default.basename(postcssConfigLocation)}`);
55
+ }
56
+ }
57
+ if (messages.length > 0) {
58
+ console.log();
59
+ for (let message of messages){
60
+ console.log(message);
36
61
  }
37
62
  }
38
- if (messages.length > 0) for (let message of (console.log(), messages))console.log(message);
39
63
  }
@@ -1,4 +1,27 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ lazyPostcss: function() {
13
+ return lazyPostcss;
14
+ },
15
+ lazyPostcssImport: function() {
16
+ return lazyPostcssImport;
17
+ },
18
+ lazyAutoprefixer: function() {
19
+ return lazyAutoprefixer;
20
+ },
21
+ lazyCssnano: function() {
22
+ return lazyCssnano;
23
+ }
24
+ });
2
25
  function lazyPostcss() {
3
26
  return require("postcss");
4
27
  }
@@ -11,16 +34,3 @@ function lazyAutoprefixer() {
11
34
  function lazyCssnano() {
12
35
  return require("cssnano");
13
36
  }
14
- Object.defineProperty(exports, "__esModule", {
15
- value: !0
16
- }), function(target, all) {
17
- for(var name in all)Object.defineProperty(target, name, {
18
- enumerable: !0,
19
- get: all[name]
20
- });
21
- }(exports, {
22
- lazyPostcss: ()=>lazyPostcss,
23
- lazyPostcssImport: ()=>lazyPostcssImport,
24
- lazyAutoprefixer: ()=>lazyAutoprefixer,
25
- lazyCssnano: ()=>lazyCssnano
26
- });
package/lib/cli.js CHANGED
@@ -1,3 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- module.exports = require("./oxide/cli");
3
+ if (true) {
4
+ module.exports = require("./oxide/cli");
5
+ } else {
6
+ module.exports = require("./cli/index");
7
+ }
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
- value: !0
4
- }), Object.defineProperty(exports, "default", {
5
- enumerable: !0,
6
- get: ()=>_default
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _default;
9
+ }
7
10
  });
8
11
  const _default = [
9
12
  "preflight",