Skip to content

Commit

Permalink
Add fix for common js
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-bhandoh committed Nov 7, 2024
1 parent 07f1ced commit 754822c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions javascript/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const commonjsPkgJSONPlugin = () => {
if (isCJSBuild === true) {
fs.writeJsonSync(
'dist/cjs/package.json',
JSON.stringify({
type: 'commonjs',
}),
{
type: 'commonjs',
}
)
} else {
await fs.copyFile('package.json', 'dist/package.json')
Expand Down

0 comments on commit 754822c

Please sign in to comment.