Skip to content

Commit

Permalink
Specify the CJS option for the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Moroz committed Jun 3, 2024
1 parent 66a82a8 commit c54ec69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ async function build(path) {
packages: 'external',
bundle: true,
sourcemap: true,
format: 'cjs',
target: 'es2022',
outdir: dist,
};
Expand Down

0 comments on commit c54ec69

Please sign in to comment.