Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 8, 2024

Conversation

pmcelhaney
Copy link
Owner

@pmcelhaney pmcelhaney commented May 8, 2024

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.

Copy link

changeset-bot bot commented May 8, 2024

🦋 Changeset detected

Latest commit: ab15645

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
Copy link
Collaborator

coveralls commented May 8, 2024

Pull Request Test Coverage Report for Build 8993988183

Details

  • 14 of 19 (73.68%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 87.217%

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%
Totals Coverage Status
Change from base Build 8992150252: -0.2%
Covered Lines: 3071
Relevant Lines: 3558

💛 - Coveralls

@pmcelhaney pmcelhaney enabled auto-merge May 8, 2024 00:08
@pmcelhaney pmcelhaney disabled auto-merge May 8, 2024 00:09
@pmcelhaney pmcelhaney enabled auto-merge May 8, 2024 00:10
@pmcelhaney pmcelhaney merged commit 6f5599d into main May 8, 2024
8 checks passed
@pmcelhaney pmcelhaney deleted the context-reload-issues branch May 8, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants