mrbuilder-plugin-typescript

3.3.1 • Public • Published

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"]'.

Readme

Keywords

Package Sidebar

Install

npm i mrbuilder-plugin-typescript

Weekly Downloads

4

Version

3.3.1

License

0BSD

Unpacked Size

4.76 kB

Total Files

5

Last publish

Collaborators

  • nanandn
  • speajus