Skip to content

A repo for reproducing the interface generation bug in wepback 4+

Notifications You must be signed in to change notification settings

bkrupa-argo/atl-interface-webpack4-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atl-interface-webpack4-repro

A repo for reproducing the interface generation bug in wepback 4+

Install packages npm i

To reproduce the issue: npx webpack

The build directory will contain:

build
|-index.d.ts
|-index.js
|-index.js.map

The declaration file for SomeInterface.ts is missing, leading to a ts build error in index.d.ts.

Pull the latest from https://github.com/bkrupa-argo/awesome-typescript-loader

In the clone of bkrupa-argo/awesome-typescript-loader npm link

From this respository, then npm link awesome-typescript-loader

Run npx webpack

Notice that now the SomeInterface.d.ts exists in the build directory.

About

A repo for reproducing the interface generation bug in wepback 4+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published