Skip to content

Commit 3654408

Browse files
committed
bugfix for changed API of options defaulter
1 parent a2b9983 commit 3654408

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/Compiler.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Compiler = require("../lib/Compiler");
1212
describe("Compiler", () => {
1313
function compile(entry, options, callback) {
1414
const noOutputPath = !options.output || !options.output.path;
15-
new WebpackOptionsDefaulter().process(options);
15+
options = new WebpackOptionsDefaulter().process(options);
1616
options.entry = entry;
1717
options.context = path.join(__dirname, "fixtures");
1818
if(noOutputPath) options.output.path = "/";

0 commit comments

Comments
 (0)