Steps to Reproduce npm i ng build --prod npm run scully Serve /dist/static and see that cookie-consent is not working as it is when using ng serve