1.1.2 • Published 8 years ago

light-ts-loader v1.1.2

Weekly downloads
128
License
MIT
Repository
github
Last release
8 years ago

light-ts-loader

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

:zap: Light weight & Lightning fast TypeScript Loader :zap:

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

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago