pmcelhaney / counterfact

OpenAPI / Swagger to TypeScript generator and mock server
MIT License
83 stars 12 forks source link

fix #898, CJS files were getting loaded as modules hence more cache issues #899

Closed pmcelhaney closed 3 weeks ago

pmcelhaney commented 3 weeks ago

Even though we're transpiling to CJS files, the module loader was still loading the files as modules, so that cache-busting didn't work.

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: ab1564542471f9b4575e46f25ca8d9e89f3685fc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | counterfact | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 8993988183

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/server/module-loader.ts 6 7 85.71%
src/server/determine-module-kind.ts 8 12 66.67%
<!-- Total: 14 19 73.68% -->
Totals Coverage Status
Change from base Build 8992150252: -0.2%
Covered Lines: 3071
Relevant Lines: 3558

💛 - Coveralls