We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8678681 + 04555e3 commit 4f358afCopy full SHA for 4f358af
lib/LibManifestPlugin.js
@@ -51,7 +51,7 @@ class LibManifestPlugin {
51
return obj;
52
}, Object.create(null))
53
};
54
- const content = new Buffer(JSON.stringify(manifest), "utf8"); //eslint-disable-line
+ const content = Buffer.from(JSON.stringify(manifest), "utf8");
55
compiler.outputFileSystem.mkdirp(path.dirname(targetPath), err => {
56
if(err) return callback(err);
57
compiler.outputFileSystem.writeFile(targetPath, content, callback);
0 commit comments