tailwindcss 0.0.0-oxide-insiders.d9fa2c1 → 0.0.0-oxide-insiders.a9149e4
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/lib/lib/load-config.js +9 -5
- package/package.json +2 -2
- package/src/lib/load-config.ts +9 -5
package/lib/lib/load-config.js
CHANGED
|
@@ -28,9 +28,13 @@ function lazyJiti() {
|
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
function loadConfig(path) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
let config = function() {
|
|
32
|
+
try {
|
|
33
|
+
return path ? require(path) : {};
|
|
34
|
+
} catch {
|
|
35
|
+
return lazyJiti()(path);
|
|
36
|
+
}
|
|
37
|
+
}();
|
|
38
|
+
var _config_default;
|
|
39
|
+
return (_config_default = config.default) !== null && _config_default !== void 0 ? _config_default : config;
|
|
36
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-oxide-insiders.
|
|
3
|
+
"version": "0.0.0-oxide-insiders.a9149e4",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"postcss": "^8.0.9"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tailwindcss/oxide": "0.0.0-oxide-insiders.
|
|
73
|
+
"@tailwindcss/oxide": "0.0.0-oxide-insiders.a9149e4",
|
|
74
74
|
"arg": "^5.0.2",
|
|
75
75
|
"browserslist": "^4.21.5",
|
|
76
76
|
"chokidar": "^3.5.3",
|
package/src/lib/load-config.ts
CHANGED
|
@@ -19,9 +19,13 @@ function lazyJiti() {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export function loadConfig(path: string): Config {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
let config = (function () {
|
|
23
|
+
try {
|
|
24
|
+
return path ? require(path) : {}
|
|
25
|
+
} catch {
|
|
26
|
+
return lazyJiti()(path)
|
|
27
|
+
}
|
|
28
|
+
})()
|
|
29
|
+
|
|
30
|
+
return config.default ?? config
|
|
27
31
|
}
|