webpack-contrib / postcss-loader

PostCSS loader for webpack
MIT License
2.86k stars 211 forks source link

fix: cannot find module 'ts-node' #639

Closed ntucker closed 1 year ago

ntucker commented 1 year ago

This PR contains a:

Motivation / Use-Case

Working with yarn or later npm versions, or pnp, etc. Anything not 5 years old package managers.

Additional Info

Fixes #636

Note: this will still be needed, even when https://github.com/Codex-/cosmiconfig-typescript-loader/issues/79 is resolved

cosmiconfig-typescript-loader peerDeps must be satisfied at any level it is included. Since it was added as a dependency, we must ensure they are specified so they can be resolved.

https://github.com/Codex-/cosmiconfig-typescript-loader/blob/main/package.json#LL39C6-L39C13 is the peerDeps

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (2112904) 89.41% compared to head (37ac8b1) 89.41%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #639 +/- ## ======================================= Coverage 89.41% 89.41% ======================================= Files 5 5 Lines 359 359 Branches 117 117 ======================================= Hits 321 321 Misses 35 35 Partials 3 3 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack-contrib)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.