@udixio/theme 1.0.0-beta.30 → 1.0.0-beta.31

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.
@@ -4,8 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var awilix = require('awilix');
6
6
  var materialColorUtilities = require('@material/material-color-utilities');
7
- var node_path = require('node:path');
8
- var node_fs = require('node:fs');
9
7
  var plugin = require('tailwindcss/plugin');
10
8
 
11
9
  var ColorService = /*#__PURE__*/function () {
@@ -1549,14 +1547,18 @@ var ConfigService = /*#__PURE__*/function () {
1549
1547
  };
1550
1548
  _proto.getConfig = function getConfig() {
1551
1549
  if (typeof process !== 'undefined' && process.release && process.release.name === 'node') {
1552
- var base = node_path.resolve(this.configPath);
1550
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
1551
+ var path = require('path');
1552
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
1553
+ var fs = require('fs');
1554
+ var base = path.resolve(this.configPath);
1553
1555
  var extensions = ['.js', '.ts', '.jms', '.jcs'];
1554
1556
  var configImport = null;
1555
1557
  for (var _i = 0, _extensions = extensions; _i < _extensions.length; _i++) {
1556
1558
  var ext = _extensions[_i];
1557
- var path = base + ext;
1558
- if (node_fs.existsSync(path)) {
1559
- configImport = require(path);
1559
+ var _path = base + ext;
1560
+ if (fs.existsSync(_path)) {
1561
+ configImport = require(_path);
1560
1562
  break;
1561
1563
  }
1562
1564
  }