Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Node 14 is breaking grunt compress output #234

Open
dfenske opened this issue Apr 26, 2021 · 0 comments
Open

Upgrade to Node 14 is breaking grunt compress output #234

dfenske opened this issue Apr 26, 2021 · 0 comments

Comments

@dfenske
Copy link

dfenske commented Apr 26, 2021

compress: {
      js: {
        options: {
          mode: 'gzip'
        },
        expand: true,
        cwd: 'public/appointments/assets/dist',
        src: ['*.js'],
        dest: 'public/appointments/assets/dist'
      }
   }
}

I have this task configured in my gruntfile, which is breaking when I upgrade from Node 12.4.0 to Node 14.16.1.

  • On Node 12, it works correctly. The output file is readable minified javascript.
  • On Node 14, it is broken. The output file is a compressed binary file.

Can anyone help me debug this issue? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant