Skip to content

Commit c201eb3

Browse files
Merge pull request #20 from contentstack/development
fix: export the load-data-url-method using commonjs instead of es modules for node 20 and lower compatibility
2 parents e2dbaf9 + 8b880a3 commit c201eb3

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ With Launch CLI, you can interact with the Contentstack Launch platform using th
88
* [Launch CLI plugin](#launch-cli-plugin)
99
* [Installation steps](#installation-steps)
1010
* [Commands](#commands)
11+
* [How to test Changes Locally?](#how-to-test-changes-locally)
12+
* [Release & SRE Process:-](#release--sre-process-)
1113
<!-- tocstop -->
1214

1315
# Installation steps

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-launch",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "Launch related operations",
55
"author": "Contentstack CLI",
66
"bin": {

scripts/patch-load-data-url-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function transpileTsFileToESM(inputFile, outputFile) {
1515

1616
await bundle.write({
1717
file: outputFile,
18-
format: 'esm',
18+
format: 'commonjs',
1919
sourcemap: false,
2020
});
2121
}

0 commit comments

Comments
 (0)