@mrbuilder/plugin-typescript

4.4.7-alpha.9 • 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

2

Version

4.4.7-alpha.9

License

MIT

Unpacked Size

10.2 kB

Total Files

10

Last publish

Collaborators

  • speajus
  • nanandn
  • brycereynolds