Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fixes #9 - default to babel's cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Oct 7, 2019
1 parent 505e3f8 commit 1a80ff5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ export class Build {
.replace('.mjs', '.js');

const resultSrc = await babel.transformFileAsync(sourcePathAbs, {
cwd: dir,
presets: [[babelPresetTypeScript]],
plugins: [
[babelPluginImportRewrite, {addExtensions: true}],
Expand Down

2 comments on commit 1a80ff5

@sgwilym
Copy link

@sgwilym sgwilym commented on 1a80ff5 Dec 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, this change seems to be unpublished as of yet, and babel.config.js files aren't supported without it. Would it be possible to cut a release for this change? 😅

@sgwilym
Copy link

@sgwilym sgwilym commented on 1a80ff5 Dec 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FredKSchott Not sure if comments on commits send notifications. Sorry to nag.

Please sign in to comment.