devmod icon indicating copy to clipboard operation
devmod copied to clipboard

Devmod Reflect dep exists in client production builds

Open calebfroese opened this issue 6 years ago • 0 comments

Issue Type

  • [X] Bug
  • [ ] Feature Request
  • [ ] Improvement

Issue Description

Devmod does not work in production unless reflect polyfill is added.

Removing the following line in the polyfills for your application that uses devmod.

import 'core-js/es7/reflect';

Replication Steps

  1. Clone https://github.com/calebfroese/devmod/tree/replicate/prod-reflect-issue
  2. npm install
  3. ng serve -c production

screen shot 2018-12-07 at 3 05 12 pm

calebfroese avatar Dec 07 '18 04:12 calebfroese