@pandacss/config 0.0.0-dev-20230212160146 → 0.0.0-dev-20230212163102
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 +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -197,7 +197,8 @@ function mergeConfigs(configs2) {
|
|
|
197
197
|
conditions: mergeExtensions(configs2.map((config) => config.conditions ?? {})),
|
|
198
198
|
theme: mergeExtensions(configs2.map((config) => config.theme ?? {})),
|
|
199
199
|
patterns: mergeExtensions(configs2.map((config) => config.patterns ?? {})),
|
|
200
|
-
utilities: mergeExtensions(configs2.map((config) => config.utilities ?? {}))
|
|
200
|
+
utilities: mergeExtensions(configs2.map((config) => config.utilities ?? {})),
|
|
201
|
+
globalCss: mergeExtensions(configs2.map((config) => config.globalCss ?? {}))
|
|
201
202
|
},
|
|
202
203
|
...configs2
|
|
203
204
|
);
|
|
@@ -209,8 +210,9 @@ async function getResolvedConfig(config, cwd) {
|
|
|
209
210
|
if (typeof preset === "string") {
|
|
210
211
|
const presetModule = await bundleAndRequire(preset, cwd);
|
|
211
212
|
return getResolvedConfig(presetModule.config, cwd);
|
|
212
|
-
} else
|
|
213
|
+
} else {
|
|
213
214
|
return getResolvedConfig(preset, cwd);
|
|
215
|
+
}
|
|
214
216
|
})
|
|
215
217
|
);
|
|
216
218
|
delete config.presets;
|
package/dist/index.mjs
CHANGED
|
@@ -167,7 +167,8 @@ function mergeConfigs(configs2) {
|
|
|
167
167
|
conditions: mergeExtensions(configs2.map((config) => config.conditions ?? {})),
|
|
168
168
|
theme: mergeExtensions(configs2.map((config) => config.theme ?? {})),
|
|
169
169
|
patterns: mergeExtensions(configs2.map((config) => config.patterns ?? {})),
|
|
170
|
-
utilities: mergeExtensions(configs2.map((config) => config.utilities ?? {}))
|
|
170
|
+
utilities: mergeExtensions(configs2.map((config) => config.utilities ?? {})),
|
|
171
|
+
globalCss: mergeExtensions(configs2.map((config) => config.globalCss ?? {}))
|
|
171
172
|
},
|
|
172
173
|
...configs2
|
|
173
174
|
);
|
|
@@ -179,8 +180,9 @@ async function getResolvedConfig(config, cwd) {
|
|
|
179
180
|
if (typeof preset === "string") {
|
|
180
181
|
const presetModule = await bundleAndRequire(preset, cwd);
|
|
181
182
|
return getResolvedConfig(presetModule.config, cwd);
|
|
182
|
-
} else
|
|
183
|
+
} else {
|
|
183
184
|
return getResolvedConfig(preset, cwd);
|
|
185
|
+
}
|
|
184
186
|
})
|
|
185
187
|
);
|
|
186
188
|
delete config.presets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/config",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230212163102",
|
|
4
4
|
"description": "Find and load panda config",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"esbuild": "0.17.7",
|
|
19
19
|
"escalade": "3.1.1",
|
|
20
20
|
"node-eval": "2.0.0",
|
|
21
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
22
|
-
"@pandacss/error": "0.0.0-dev-
|
|
23
|
-
"@pandacss/types": "0.0.0-dev-
|
|
21
|
+
"@pandacss/logger": "0.0.0-dev-20230212163102",
|
|
22
|
+
"@pandacss/error": "0.0.0-dev-20230212163102",
|
|
23
|
+
"@pandacss/types": "0.0.0-dev-20230212163102"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "pnpm tsup src/index.ts --format=esm,cjs --shims --dts",
|