Skip to content

Commit 420cca2

Browse files
committed
add cjs fix
1 parent 7a9db18 commit 420cca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"description": "API client that provide services of DataForSeo API \n\n For more information about client code generation, please follow to github",
88
"scripts": {
99
"build:esm": "tsc -p tsconfig.esm.json && node fix-esm-imports.js",
10-
"build:cjs": "tsc -p tsconfig.cjs.json",
10+
"build:cjs": "tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('dist/cjs/package.json', '{\\\"type\\\":\\\"commonjs\\\"}')\"",
1111
"build": "npm run build:esm && npm run build:cjs",
1212
"test": "jest --verbose"
1313
},

0 commit comments

Comments
 (0)