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

Super expression must either be null or a function when using webpack #677

Open
dorivix opened this issue Feb 14, 2021 · 1 comment
Open

Comments

@dorivix
Copy link

dorivix commented Feb 14, 2021

Hi,
I'm trying to use this package with webpack (terser plugin) and i'm getting this error.
When I remove the minimizer and the Terser Plugin, I don't get any error.
I was trying to look for solution but didn't find any.

This is the configuration I use

minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          warnings: false,
          compress: {
            comparisons: false
          },
          parse: {},
          mangle: false,
          output: {
            comments: false,
            ascii_only: true
          }
        },
        parallel: true,
        cache: true,
        sourceMap: true
      })

and these are the versions:

"terser-webpack-plugin": "1.2.3",
"webpack": "^4.43.0"

Thanks

@fabianosanttana
Copy link

Up

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

2 participants