Skip to content

Reproduce an excessive stack depth error when using TypeScript, Immutable, Webpack, ts-loader, and yarn link

License

Notifications You must be signed in to change notification settings

ryanewtaylor/repro-excessive-stack-depth-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excessive Stack Depth Error Reproduction

This repo reproduces an excessive stack depth error when using TypeScript, Immutable, Webpack, ts-loader, and yarn link.

Getting Started

Environment (Prerequisites)

  • Windows 10
  • Node v8.5.0
  • Yarn v1.6.0

To Reproduce

Open a command window at this repo's location and run

cd lib
yarn install
yarn build
yarn link

cd ..\app
yarn install
yarn link "lib"
yarn buildWithTsLoader

Alternatively, to confirm this is a ts-loader issue compile app with awesome-typescript-loader.

yarn buildWithAtLoader

Or, compile app without any bundling (just TypeScript).

yarn buildWithTsc

About

Reproduce an excessive stack depth error when using TypeScript, Immutable, Webpack, ts-loader, and yarn link

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published