Eliad Ayehu
Eliad Ayehu

Reputation: 125

duplicate sourcemaps with Angular Cli - webpack

in the chrome developer tools I see multiple sourcemap to the same typescript file with GET. how can it be ? and what can I do to stay with only one ?

I'm using CLI-Webpack.

example for duplicate sourcemaps: enter image description here

Upvotes: 1

Views: 86

Answers (1)

Yalin
Yalin

Reputation: 345

you need to promote the import of the module that holds this directive to app.module and it will solve this issue.

Upvotes: 1

Related Questions