@tinacms/scripts 0.0.0-20230321130105 → 0.0.0-20230321172927
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 +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -447,7 +447,16 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
447
447
|
target: "es2020",
|
|
448
448
|
format: "esm",
|
|
449
449
|
outfile: _path2.default.join(process.cwd(), "dist", "index.es.js"),
|
|
450
|
-
external
|
|
450
|
+
external: Object.keys(_chunkNYQD2IPWjs.__spreadValues.call(void 0, {}, peerDeps2))
|
|
451
|
+
});
|
|
452
|
+
await _esbuild.build.call(void 0, {
|
|
453
|
+
entryPoints: [_path2.default.join(process.cwd(), entry)],
|
|
454
|
+
bundle: true,
|
|
455
|
+
platform: "browser",
|
|
456
|
+
target: "es2020",
|
|
457
|
+
format: "esm",
|
|
458
|
+
outfile: _path2.default.join(process.cwd(), "dist", "index.browser.es.js"),
|
|
459
|
+
external: Object.keys(_chunkNYQD2IPWjs.__spreadValues.call(void 0, {}, peerDeps2))
|
|
451
460
|
});
|
|
452
461
|
} else {
|
|
453
462
|
await _esbuild.build.call(void 0, {
|