1. @webpack-blocks/typescript
Webpack block for Typescript.
@webpack-blocks/typescript
Package: @webpack-blocks/typescript
Created by: andywer
Last modified: Mon, 13 Jun 2022 01:37:37 GMT
Version: 2.0.1
License: MIT
Downloads: 990
Repository: https://github.com/andywer/webpack-blocks

Install

npm install @webpack-blocks/typescript
yarn add @webpack-blocks/typescript

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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code