@walkeros/config 3.0.1 → 4.0.0-next-1773967844643
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/package.json +1 -1
- package/tsup/index.mjs +5 -1
package/package.json
CHANGED
package/tsup/index.mjs
CHANGED
|
@@ -157,7 +157,11 @@ const buildDev = (customConfig = {}) => {
|
|
|
157
157
|
const walkerOS = pkg.walkerOS || {};
|
|
158
158
|
const meta = { package: pkg.name, version: pkg.version };
|
|
159
159
|
if (walkerOS.type) meta.type = walkerOS.type;
|
|
160
|
-
if (walkerOS.platform)
|
|
160
|
+
if (walkerOS.platform) {
|
|
161
|
+
meta.platform = Array.isArray(walkerOS.platform)
|
|
162
|
+
? walkerOS.platform
|
|
163
|
+
: [walkerOS.platform];
|
|
164
|
+
}
|
|
161
165
|
if (walkerOS.renderer) meta.renderer = walkerOS.renderer;
|
|
162
166
|
if (walkerOS.exports) meta.exports = walkerOS.exports;
|
|
163
167
|
|