Skip to content

Commit

Permalink
Fix Babel --out-dir requires filenames error
Browse files Browse the repository at this point in the history
It looks like this no longer works without an explicit argument.

https://babeljs.io/docs/en/options#sourcemaps
  • Loading branch information
72636c committed Dec 10, 2020
1 parent a6984b1 commit c8d8cb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/kind-wombats-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': patch
---

**build:** Fix `--out-dir requires filenames` error on experimental Babel builds
1 change: 1 addition & 0 deletions src/cli/build/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export const babel = () =>
'--out-dir',
'lib',
'--source-maps',
'true',
'src',
);

0 comments on commit c8d8cb6

Please sign in to comment.