@webpack-blocks/typescript
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/webpack-blocks__typescript package

2.0.1 • Public • Published

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.

/@webpack-blocks/typescript/

    Package Sidebar

    Install

    npm i @webpack-blocks/typescript

    Weekly Downloads

    208

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    4.51 kB

    Total Files

    5

    Last publish

    Collaborators

    • andywer
    • webpack-blocks-andy