Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: watch options
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossantos74 committed Jun 27, 2024
1 parent 0bdf132 commit 10ad452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .esbuild/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ const esbuild = require('esbuild');
try {
const [cjsContext, esmContext] = await Promise.all([
esbuild.context({
cjsConfig,
...cjsConfig,
outfile: 'dist/index.cjs.js',
}),

esbuild.context({
esmConfig,
...esmConfig,
outdir: 'dist',
}),
]);
Expand Down

0 comments on commit 10ad452

Please sign in to comment.