[Solved] ERROR TS5053: Option ‘sourceMap’ cannot be specified with option ‘inlineSourceMap’.

2024/01/19 16:20

Error

Error: Webpack Compilation Error
[tsl] ERROR TS5053: Option ‘sourceMap’ cannot be specified with option ‘inlineSourceMap’.

Solution

If you create the tsconfig.json below, another tsconfig.json will be loaded when cypress is executed, which will solve the problem.

{
“extends”: “../tsconfig.json”,
“compilerOptions”: {
“sourceMap”: false,
},
}

Leave a Reply

Back to top