Skip to content

Commit 04555e3

Browse files
committed
fix(): remove new statement before Buffer.from
1 parent 99bbbeb commit 04555e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/LibManifestPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class LibManifestPlugin {
5151
return obj;
5252
}, Object.create(null))
5353
};
54-
const content = new Buffer.from(JSON.stringify(manifest), "utf8");
54+
const content = Buffer.from(JSON.stringify(manifest), "utf8");
5555
compiler.outputFileSystem.mkdirp(path.dirname(targetPath), err => {
5656
if(err) return callback(err);
5757
compiler.outputFileSystem.writeFile(targetPath, content, callback);

0 commit comments

Comments
 (0)