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.

44 lines
1.6 KiB

2 years ago
  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. cli: ()=>cli,
  13. defaultConfigFile: ()=>defaultConfigFile,
  14. defaultPostCssConfigFile: ()=>defaultPostCssConfigFile,
  15. cjsConfigFile: ()=>cjsConfigFile,
  16. cjsPostCssConfigFile: ()=>cjsPostCssConfigFile,
  17. supportedConfigFiles: ()=>supportedConfigFiles,
  18. supportedPostCssConfigFile: ()=>supportedPostCssConfigFile,
  19. defaultConfigStubFile: ()=>defaultConfigStubFile,
  20. simpleConfigStubFile: ()=>simpleConfigStubFile,
  21. defaultPostCssConfigStubFile: ()=>defaultPostCssConfigStubFile
  22. });
  23. const _path = /*#__PURE__*/ _interopRequireDefault(require("path"));
  24. function _interopRequireDefault(obj) {
  25. return obj && obj.__esModule ? obj : {
  26. default: obj
  27. };
  28. }
  29. const cli = "tailwind";
  30. const defaultConfigFile = "./tailwind.config.js";
  31. const defaultPostCssConfigFile = "./postcss.config.js";
  32. const cjsConfigFile = "./tailwind.config.cjs";
  33. const cjsPostCssConfigFile = "./postcss.config.cjs";
  34. const supportedConfigFiles = [
  35. cjsConfigFile,
  36. defaultConfigFile
  37. ];
  38. const supportedPostCssConfigFile = [
  39. cjsPostCssConfigFile,
  40. defaultPostCssConfigFile
  41. ];
  42. const defaultConfigStubFile = _path.default.resolve(__dirname, "../stubs/defaultConfig.stub.js");
  43. const simpleConfigStubFile = _path.default.resolve(__dirname, "../stubs/simpleConfig.stub.js");
  44. const defaultPostCssConfigStubFile = _path.default.resolve(__dirname, "../stubs/defaultPostCssConfig.stub.js");