Skip to content

Commit

Permalink
Fix(Actions): ERR_REQUIRE_ESM require() of ES Module
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed May 3, 2024
1 parent 6d72b4f commit 2eb07fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/conventional-changelog-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "conventional-changelog-techor",
"type": "module",
"scripts": {
"build:main": "rollup --config rollup.config.mjs",
"build:type": "tsc --emitDeclarationOnly --preserveWatchOutput",
Expand Down
2 changes: 1 addition & 1 deletion packages/conventional-changelog-config/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import defineConfig from '../../rollup.config.mjs'
export default {
...defineConfig(),
input: 'src/index.ts',
output: { file: 'dist/index.js', format: 'esm' },
output: { file: 'dist/index.js', format: 'cjs' },
}

0 comments on commit 2eb07fa

Please sign in to comment.