@mrbuilder/plugin-typescript
v4.4.7-alpha.9
Published
Typescript plugin for mrbuilder
Downloads
19
Readme
Provides typescript
| Property | Type | Default | Description | | ------------- | -----------| -------------| ---------------------------------| | useBabel | bool | false | Use babel instead of tsc and ts-loader all other options are ignored |
Please add a tsconfig.json to your project's root to be able to use
see
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": ".",
"suppressExcessPropertyErrors": true,
"declaration": true,
"outDir": "@types",
"target": "es5",
"strictNullChecks": false,
"sourceMap": true,
"skipLibCheck": true,
"jsx": "react",
"lib": [
"dom",
"es2015"
]
},
"files": [
"./src/*.tsx"
]
}
Add the above to your project in a file called tsconfig.json - If you see
ERROR in mrbuilder-plugin-typescript/tsconfig.json
[tsl] ERROR
TS18003: No inputs were found in config file 'tsconfig.json'.
Specified 'include' paths were '["./src/**/*"]' and 'exclude'
paths were '["node_modules","**/*.spec.ts"]'.