Skip to content

Files

Latest commit

 

History

History

typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 25, 2018
Jun 8, 2018
May 8, 2018
Jun 10, 2019

webpack-blocks - TypeScript

Gitter chat NPM Version

This is the typescript block providing TypeScript support for webpack. Uses awesome-typescript-loader.

Usage

const { createConfig } = require('@webpack-blocks/webpack')
const typescript = require('@webpack-blocks/typescript')

module.exports = createConfig([
  typescript(/* options, optional */)
])

Use match() to explicitly specify the files to load using the TypeScript loader.

Options

Uses the default tsconfig.json in the root directory (See here). You can pass awesome-typescript-loader options to the block.

webpack-blocks

Check out the

👉 Main documentation

Released under the terms of the MIT license.