Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 695 Bytes

File metadata and controls

41 lines (29 loc) · 695 Bytes

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