ff6b75027b
## Feature Enable import assertion syntax parsing for ecmascript/typescript. Since webpack has already supported it, enable import assertion parsing and leave them to webpack to handle #### Upgration * tooling: `@swc/core`, `@swc/cli`, prettier to support importAssertion related flags * typescript related: `typescript` >= 4.5 * babel related: `@babel/plugin-syntax-import-assertions` * lint parser: `@typescript-eslint/parser` Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
20 lines
506 B
JSON
20 lines
506 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve"
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["**/*.d.ts", "**/*.ts", "**/*.tsx"]
|
|
}
|