Skip to content

Commit

Permalink
fix(@jcoreio/toolchain-esnext): fix EEXIST error when copying src -> …
Browse files Browse the repository at this point in the history
…dist/src
  • Loading branch information
jedwards1211 committed Jul 11, 2024
1 parent 3e40dd8 commit 17b6169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/esnext/plugins/compile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = [
}

if (toolchainConfig.sourceMaps) {
const srcFiles = await glob(path.join('src', '**'))
const srcFiles = await glob(path.join('src', '**'), { nodir: true })
await Promise.all(
srcFiles.map(async (src) => {
if (src === 'src') return
Expand Down

0 comments on commit 17b6169

Please sign in to comment.