@udixio/theme 1.0.0-beta.28 → 1.0.0-beta.29
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.
- package/dist/theme.cjs.development.js +5 -5
- package/dist/theme.cjs.development.js.map +1 -1
- package/dist/theme.cjs.production.min.js +1 -1
- package/dist/theme.cjs.production.min.js.map +1 -1
- package/dist/theme.esm.js +1 -1
- package/dist/theme.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/config/config.service.ts +1 -1
|
@@ -4,7 +4,7 @@ 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
|
|
7
|
+
var node_path = require('node:path');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
var plugin = require('tailwindcss/plugin');
|
|
10
10
|
|
|
@@ -1548,14 +1548,14 @@ var ConfigService = /*#__PURE__*/function () {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
};
|
|
1550
1550
|
_proto.getConfig = function getConfig() {
|
|
1551
|
-
var base =
|
|
1551
|
+
var base = node_path.resolve(this.configPath);
|
|
1552
1552
|
var extensions = ['.js', '.ts', '.jms', '.jcs'];
|
|
1553
1553
|
var configImport = null;
|
|
1554
1554
|
for (var _i = 0, _extensions = extensions; _i < _extensions.length; _i++) {
|
|
1555
1555
|
var ext = _extensions[_i];
|
|
1556
|
-
var path
|
|
1557
|
-
if (node_fs.existsSync(path
|
|
1558
|
-
configImport = require(path
|
|
1556
|
+
var path = base + ext;
|
|
1557
|
+
if (node_fs.existsSync(path)) {
|
|
1558
|
+
configImport = require(path);
|
|
1559
1559
|
break;
|
|
1560
1560
|
}
|
|
1561
1561
|
}
|