packages/cli: enable TS isolatedModules
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"importHelpers": false,
|
||||
"incremental": true,
|
||||
"isolatedModules": false,
|
||||
"isolatedModules": true,
|
||||
"jsx": "react",
|
||||
"lib": ["DOM", "DOM.Iterable", "ScriptHost", "ES2019"],
|
||||
"module": "ESNext",
|
||||
|
||||
@@ -20,8 +20,7 @@ import { paths } from '../lib/paths';
|
||||
|
||||
export default async (cmd: Command) => {
|
||||
const args = [
|
||||
'--ext',
|
||||
'js,jsx,ts,tsx',
|
||||
'--ext=js,jsx,ts,tsx',
|
||||
'--max-warnings=0',
|
||||
'--format=codeframe',
|
||||
paths.targetDir,
|
||||
|
||||
Reference in New Issue
Block a user