fix(loader): only doing file I/O once during webpack loader.
Noticed that this webpack loader takes ~20/30s longer to build in my project then this loader: https://www.npmjs.com/package/swc-loader.
this change makes the load time the same in my project when I switch out that loader with this one.
⚠️ No Changeset found
Latest commit: a721794d68d2a35e67972ddcda21371ed3dfe217
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Stephen Russell Crane seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.