forked from babel/babel-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
babel-loader was setting `options.sourceFileName` to a relative path, but this does not seem to work correctly anymore with either webpack or babel itself and causes incorrect source map file data in webpack. Setting it to an absolute path seems to fix the problem. Fixes babel#480 and possibly also babel#93.
- Loading branch information
1 parent
d249119
commit 6d0e9ed
Showing
4 changed files
with
2 additions
and
53 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 |
---|---|---|
|
@@ -74,7 +74,7 @@ | |
"nyc": { | ||
"all": true, | ||
"include": [ | ||
"src/**/*.js" | ||
"lib/**/*.js" | ||
], | ||
"reporter": [ | ||
"text", | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.