I have a nrwl react ap…

less than 1 minute read

I have a @nrwl/react:app in my workspace. It’s using the @nrwl/web:build builder; however, the fileReplacements option in the production configuration has no effect when running the production build. Has anyone else had problems with this?


It doesn’t look like the production configuration is being applied. For example, despite running with the --prod flag (or using nx run app_name:build:production), I still see map files generated in the build output even though the production configuration sets sourceMap to false.