light-ts-loader

1.1.2 • Public • Published

light-ts-loader

npm version CircleCI Join the chat at https://gitter.im/light-ts-loader/Lobby

⚡️ Light weight & Lightning fast TypeScript Loader ⚡️

Concepts

  • No Dependencies => Light weight package
  • No Type-checking => Lightning fast bundling
  • No Magic => Easy to contribute :)

light-ts-loader does NOT run type-checking at bundling. That can reduce bundling time much, but usually you must execute type-cheking as other task. tsc --noEmit command is recommended solution for that.

Installation

$ npm install -D light-ts-loader

How to use

module: {
    rules: [
        { test: /\.ts$/, loader: "light-ts-loader" },
    ],
},

Configuration

plugins: [
    new webpack.LoaderOptionsPlugin({
        // use `path.resolve("tsconfig.json")` by default.
        tsConfigPath: "path/to/your/tsconfig.json", 
    })
],

Compatibilities (Tested Only)

  • TypeScript 2.0
  • webpack 2.1.0

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i light-ts-loader

Weekly Downloads

293

Version

1.1.2

License

MIT

Last publish

Collaborators

  • laco0416