Closed FDiskas closed 2 years ago
I tried to create tsdx configuration file but it is not possible to overwrite the plugin.
Respect project
tsconfig.json
file. I know some values needs to be overwritten e.x.target
but other values should be taken from tsconfig.
It does respect tsconfig.json
-- that's why it's included in the templates -- and in fact only overrides target
The problem is not that it's not respecting DOM
from lib
, it's that DOM
is outdated. TSDX is still on TS v3 (and has not been maintained in some time), and v3 DOM does not have WindowPostMessageOptions
.
As such this is a duplicate of #926 . See that issue for workarounds such as Yarn resolutions
Current Behavior
Expected behavior
If I remove
DOM
from lib, I get the same error as it is shown in error when building.Suggested solution(s)
Respect project
tsconfig.json
file. I know some values needs to be overwritten e.x.target
but other values should be taken from tsconfig.Additional context
tsconfig.json
Your environment