Steps to Reproduce

  1. npm i
  2. ng build --prod
  3. npm run scully
  4. Serve /dist/static and see that cookie-consent is not working as it is when using ng serve