@tinacms/scripts 0.0.0-20230321151032 → 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.
Files changed (2) hide show
  1. package/dist/index.js +10 -1
  2. 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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/scripts",
3
- "version": "0.0.0-20230321151032",
3
+ "version": "0.0.0-20230321172927",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",