Unable to make dynamic module import work with module esnext in tsconfig in Angular 5
I figured this out. Turns out that it was a silly mistake and I was editing tsconfig.json
in the root folder and there was another tsconfig.app.json
in src
folder that was overriding my settings.