Skip to content

Commit 9d8d32e

Browse files
author
Sergey Melyukov
committed
added originalSource method to NormalModule (closes webpack#4526)
1 parent c49a4fd commit 9d8d32e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/NormalModule.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ class NormalModule extends Module {
456456
return new CachedSource(source);
457457
}
458458

459+
originalSource() {
460+
return this._source;
461+
}
462+
459463
getHighestTimestamp(keys, timestampsByKey) {
460464
let highestTimestamp = 0;
461465
for(let i = 0; i < keys.length; i++) {

0 commit comments

Comments
 (0)