Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
UglifyJs compile exception with @aspnet/signalr-client #867
The following 2 lines causes an UglifyJs compile exception:
UglifyJs Unexpected token: name (NullLogger)
package version: 1.0.0-alpha1-26985
@davidfowl This fix did not work. I replaced the lines here:
This is where I do the Uglify configuration for the production build
This works if you use the new uglify packages, not the old. new packages => S is a capital letter... @FabianGosebrink thanks for your help.
in the package.json add:
add the UglifyJSPlugin webpack plugin (S is capital), in the webpack production build file
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
Update the webpack production build
What i did to get it working