Below is the content of my .tsconfig
configuration file:
{
"compilerOptions": {
"target": "es6",
"baseUrl": "./src",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react",
"strictNullChecks": false,
"sourceMap": true,
"inlineSources": true,
"sourceRoot": "/"
},
"include": ["src"],
"exclude": ["node_modules"]
}
When using dynamic imports, the .at()
method gets added to the code. This results in an error for browsers that do not support this method, displaying as
u.split(...).at is not a function
. Is there a way to resolve this issue by adjusting the settings in the .tsconfig
file?