I m pretty new to nx Ex…

less than 1 minute read

I’m pretty new to nx. Excuse me if I’m making a major blunder. When I build an app for prod using the nx build [appname] command, it generates a package.json that is missing many dependencies, example: styled-components. Here’s the package.json that is generated

{ "name": "consumer-web-client", "version": "0.0.1", "scripts": { "start": "next start" }, "dependencies": { "next": "9.3.3", "react": "16.12.0", "react-dom": "16.12.0" }, "devDependencies": {} }

Updated: