-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17303be
commit bbfa283
Showing
12 changed files
with
438 additions
and
317 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
72 changes: 36 additions & 36 deletions
72
test/__snapshots__/extractComments-option.test.js.snap.webpack4
Large diffs are not rendered by default.
Oops, something went wrong.
78 changes: 52 additions & 26 deletions
78
test/__snapshots__/extractComments-option.test.js.snap.webpack5
Large diffs are not rendered by default.
Oops, something went wrong.
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 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 +1,12 @@ | ||
// foo | ||
/* @preserve*/ | ||
// bar | ||
const a = 2 + 2; | ||
|
||
module.exports = function Foo() { | ||
function test() { | ||
const b = 2 + 2; | ||
console.log(b + 1 + 2); | ||
}; | ||
console.log(b + 1 + 2 + a); | ||
} | ||
|
||
test(); | ||
|
||
module.exports = test; |
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