Fix webpack deprecation warnings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a0eb94704e
commit
4651bf4eb4
2 changed files with 6 additions and 6 deletions
|
@ -38,7 +38,7 @@ module.exports.pitch = function pitch(request) {
|
|||
return cb(err);
|
||||
}
|
||||
if (entries[0]) {
|
||||
return cb(null, `module.exports = __webpack_public_path__ + ${JSON.stringify(entries[0].files[0])};`);
|
||||
return cb(null, `module.exports = __webpack_public_path__ + ${JSON.stringify([...entries[0].files][0])};`);
|
||||
}
|
||||
return cb(null, null);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue