Skip to content

Commit 39d9cc8

Browse files
committed
use sources from webpack-sources
1 parent d34d0fb commit 39d9cc8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ExtractedModule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
MIT License http://www.opensource.org/licenses/mit-license.php
33
Author Tobias Koppers @sokra
44
*/
5-
var SourceMapSource = require("webpack/lib/SourceMapSource");
6-
var RawSource = require("webpack/lib/RawSource");
5+
var SourceMapSource = require("webpack-sources").SourceMapSource;
6+
var RawSource = require("webpack-sources").RawSource;
77

88
function ExtractedModule(identifier, originalModule, source, sourceMap, addtitionalInformation, prevModules) {
99
this._identifier = identifier;

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
MIT License http://www.opensource.org/licenses/mit-license.php
33
Author Tobias Koppers @sokra
44
*/
5-
var ConcatSource = require("webpack/lib/ConcatSource");
5+
var ConcatSource = require("webpack-sources").ConcatSource;
66
var async = require("async");
77
var ExtractedModule = require("./ExtractedModule");
88
var Chunk = require("webpack/lib/Chunk");

0 commit comments

Comments
 (0)