Skip to content

Commit

Permalink
fixup terser ncc (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Nov 25, 2020
1 parent def3d74 commit 5bd0590
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/next/taskfile-ncc.js
Expand Up @@ -18,9 +18,7 @@ module.exports = function (task) {
Object.keys(assets).forEach((key) => {
let data = assets[key].source

if (
join(file.dir, key).endsWith('terser-webpack-plugin/dist/minify.js')
) {
if (join(file.dir, key).endsWith('terser-webpack-plugin/minify.js')) {
data = Buffer.from(
data
.toString()
Expand Down

0 comments on commit 5bd0590

Please sign in to comment.