5
vicary
3y

So `aws-sdk@^2` happens to include an ancient polyfill `url@0.10.3` which breaks webpack, specifically fork-ts-checker-webpack-plugin, causing it to warn about the inexistence of class "URL".

And this is the default included package for AWS Lambda node.js runtime.

wow, just wow.

Comments
  • 1
    Solution: Use configOverwrite in fork-ts-checker-webpack-plugin to exclude that crap from type checking, so you can still share the same tsconfig.json without excluding it from the IDE.
Add Comment