Skip to content

cjdell/ts-loader-satisfies-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demostrating the issue of using the TypeScript 4.9 "satisfies" keyword with WebPack

Running

yarn
yarn dev

# In another terminal...
yarn start

Workaround

Inserting the missing dependency import names as bare evaluations forces the bundler to include the modules at runtime. See the top of src/index.ts.

Also, simply removing the satisfies keyword works.

About

Demostrating the issue of using the TypeScript 4.9 "satisfies" keyword with WebPack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published