@pandacss/config 0.15.1 → 0.15.2
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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -304,10 +304,10 @@ async function getResolvedConfig(config, cwd) {
|
|
|
304
304
|
const preset = await presets.shift();
|
|
305
305
|
if (typeof preset === "string") {
|
|
306
306
|
const presetModule = await bundle(preset, cwd);
|
|
307
|
-
configs2.
|
|
307
|
+
configs2.unshift(await presetModule.config);
|
|
308
308
|
presets.unshift(...await presetModule.config.presets ?? []);
|
|
309
309
|
} else {
|
|
310
|
-
configs2.
|
|
310
|
+
configs2.unshift(preset);
|
|
311
311
|
presets.unshift(...preset.presets ?? []);
|
|
312
312
|
}
|
|
313
313
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -159,10 +159,10 @@ async function getResolvedConfig(config, cwd) {
|
|
|
159
159
|
const preset = await presets.shift();
|
|
160
160
|
if (typeof preset === "string") {
|
|
161
161
|
const presetModule = await bundle(preset, cwd);
|
|
162
|
-
configs2.
|
|
162
|
+
configs2.unshift(await presetModule.config);
|
|
163
163
|
presets.unshift(...await presetModule.config.presets ?? []);
|
|
164
164
|
} else {
|
|
165
|
-
configs2.
|
|
165
|
+
configs2.unshift(preset);
|
|
166
166
|
presets.unshift(...preset.presets ?? []);
|
|
167
167
|
}
|
|
168
168
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/config",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Find and load panda config",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"jiti": "^1.19.1",
|
|
38
38
|
"merge-anything": "^5.1.7",
|
|
39
39
|
"typescript": "^5.2.2",
|
|
40
|
-
"@pandacss/error": "0.15.
|
|
41
|
-
"@pandacss/logger": "0.15.
|
|
42
|
-
"@pandacss/preset-base": "0.15.
|
|
43
|
-
"@pandacss/preset-panda": "0.15.
|
|
44
|
-
"@pandacss/types": "0.15.
|
|
40
|
+
"@pandacss/error": "0.15.2",
|
|
41
|
+
"@pandacss/logger": "0.15.2",
|
|
42
|
+
"@pandacss/preset-base": "0.15.2",
|
|
43
|
+
"@pandacss/preset-panda": "0.15.2",
|
|
44
|
+
"@pandacss/types": "0.15.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"pkg-types": "1.0.3"
|