mirror of https://github.com/webpack/webpack.git
4 lines
166 B
JavaScript
4 lines
166 B
JavaScript
|
var fs = require("fs");
|
||
|
var source = fs.readFileSync(__filename, "utf-8");
|
||
|
var match = /sourceMappingURL\s*=\s*(.*)/.exec(source);
|
||
|
match[1].should.be.eql("c.js.map");
|