Closed sverheggen closed 5 years ago
Hello @sverheggen, Thanks for using React Core Boilerplate! Please, try to update it to v. 1.6.2. It should work properly now.
Thanks for the fast reply. How can I upgrade to the 1.6.2. In Visual Studio it doesn't see this version. How can I update the boillerplate on the existing project? Thanks in advanced for help. Regards, Stefan
Hello @sverheggen,
To solve your issue try to call npm install terser@3.16.1 --save-dev
in the project's dir.
To update an extension in the Visual Studio:
Extensions
, find the React Core Boilerplate
.Update
button.OR
.vsix
file.Best regards, Nick
Hello @sverheggen Is it ok now?
Hi Nick,
Yes that is working now. Only I needed to start a new project with the latest version of the template.
Thanks for your help.
Regards,
Stefan
When I try to publish to azure I get the following error ERROR in vendor.js from Terser TypeError: Cannot read property 'minify' of undefined at minify (C:\Development\Azure\Azure Developer Course\Functions\TodoRestApi\TodoWebSiteReact\node_modules\terser-webpack-plugin\dist\minify.js:175:23) on command node node_modules/webpack/bin/webpack.js --env.prod