-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use Babel to strip comments and unmap line numbers
- Loading branch information
1 parent
5987889
commit 24edbbc
Showing
3 changed files
with
59 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
// eslint-disable-next-line import/no-cycle | ||
import { bar } from './b'; | ||
|
||
/** | ||
* @type {import('./b').Bar} | ||
*/ | ||
export const foo = 'Foo'; | ||
export default bar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
// eslint-disable-next-line import/no-cycle | ||
import { foo } from './a'; | ||
|
||
/* | ||
* ---------> | ||
* <!-- foo as bar --> | ||
*/ | ||
console.error('here am I'); | ||
export { foo as bar }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters