@tinacms/scripts 0.0.0-20231005151524 → 0.0.0-20231005170512

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -156,7 +156,7 @@ var buildIt = async (entryPoint, packageJSON) => {
156
156
  bundle: true,
157
157
  platform: "node",
158
158
  target: "node12",
159
- outfile: _path2.default.join(process.cwd(), "dist", "index.js"),
159
+ outfile: outInfo.outfile ? _path2.default.join(process.cwd(), "dist", `${outInfo.outfile}.js`) : _path2.default.join(process.cwd(), "dist", "index.js"),
160
160
  external: external.filter((item) => !packageJSON.buildConfig.entryPoints[0].bundle.includes(item))
161
161
  });
162
162
  await _esbuild.build.call(void 0, {
@@ -165,7 +165,7 @@ var buildIt = async (entryPoint, packageJSON) => {
165
165
  platform: "node",
166
166
  target: "es2020",
167
167
  format: "esm",
168
- outfile: _path2.default.join(process.cwd(), "dist", "index.mjs"),
168
+ outfile: outInfo.outfile ? _path2.default.join(process.cwd(), "dist", `${outInfo.outfile}.mjs`) : _path2.default.join(process.cwd(), "dist", "index.mjs"),
169
169
  external
170
170
  });
171
171
  } else if (["@tinacms/mdx"].includes(packageJSON.name)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/scripts",
3
- "version": "0.0.0-20231005151524",
3
+ "version": "0.0.0-20231005170512",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",