2.3.1 • Published 7 years ago

neutrino-middleware-ts-loader v2.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Neutrino TypeScript Loader Middleware

NPM version NPM downloads

neutrino-middleware-ts-loader is Neutrino middleware for loading and importing typescript modules.

Requirements

  • Node.js v6.9+
  • Yarn or npm client
  • Neutrino v5

Installation

neutrino-middleware-ts-loader can be installed via the Yarn or npm clients.

Yarn

❯ yarn add neutrino-middleware-ts-loader

npm

❯ npm install --save neutrino-middleware-ts-loader

Usage

neutrino-middleware-ts-loader can be consumed from the Neutrino API, middleware, or presets. Require this package and plug it into Neutrino:

const typescript = require('neutrino-middleware-ts-loader');

neutrino.use(typescript);

Customization

neutrino-middleware-ts-loader creates some conventions to make overriding the configuration easier once you are ready to make changes.

Rules

The following is a list of rules and their identifiers which can be overridden:

  • sourcemap: Allows using source maps for modules. Contains a loader named sourcemap which uses source-map-loader.
  • typescript: Allows importing and writing typescript modules. Contains a loader named ts which uses ts-loader.
2.3.1

7 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago