Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Errors from compilation when adding Typescript source map

$
0
0

@Fisu wrote:

It seems ionic start didn't add source mapping to the Typescript project automatically. In the tsconfig file I added: "inlineSourceMap": true. This now provides the correct source maps to be used in the browser console, however, the compilation throws the following error

ERROR in [default]
Option 'sourceMap' cannot be specified with option 'inlineSourceMap'.

ERROR in [default]
Option 'sourceRoot' cannot be specified with option 'inlineSourceMap'.

I don't understand why it's mentioning the options sourceMap and sourceRoot as these are not in the config.

Any ideas how I can fix this error?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>