After installing and trying to run npm run build I got the error:
Duplicate plugin/preset detected.
I was able to resolve this by removing the plugins section from package.json
since the preset nano-react-app already includes those plugins, they don't need to be declared again in package.json heres a related stackoverflow explaining
After installing and trying to run
npm run build
I got the error:Duplicate plugin/preset detected.
I was able to resolve this by removing the
plugins
section frompackage.json
since the preset
nano-react-app
already includes those plugins, they don't need to be declared again inpackage.json
heres a related stackoverflow explaining