@kotify/neutrino-typescript

8.0.0 • Public • Published

Neutrino typescript middleware

Adds typescript 3+ support via @babel/preset-typescript.

Usage

Options:

  • forkTSChecker.enable - bool, enables fork-ts-checker-webpack-plugin, true by default.
  • forkTSChecker.options - object, options to pass to fork-ts-checker-webpack-plugin

Example:

const typescript = require('neutrino-typescript');

module.exports = {
    use: [
        react(),
        typescript({
            forkTSChecker: {
                options: {
                    typescript: { memoryLimit: 3000 },
                },
            },
        }),
    ]
}

Readme

Keywords

Package Sidebar

Install

npm i @kotify/neutrino-typescript

Weekly Downloads

14

Version

8.0.0

License

MIT

Unpacked Size

2.51 kB

Total Files

3

Last publish

Collaborators

  • kalekseev
  • andrew.mejov
  • elitvinov
  • kpblji
  • aleksey.kretov