Skip to content

feat!: restore package exports so ESM uses named exports only - #945

Merged
harttle merged 1 commit into
nextfrom
feat/remove-default-export-import
Aug 5, 2026
Merged

feat!: restore package exports so ESM uses named exports only#945
harttle merged 1 commit into
nextfrom
feat/remove-default-export-import

Conversation

@harttle

@harttle harttle commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • npm pack / install and verify import { Liquid } from 'liquidjs' resolves the ESM build
  • Confirm import liquidjs from 'liquidjs' no longer gets a default via CJS interop
  • require('liquidjs') still works via the require export condition
  • CI green on this PR

Point import at dist/liquid.node.mjs so Node resolves the real ESM build instead of CJS interop that faked a default export.

Co-authored-by: Cursor <cursoragent@cursor.com>
@harttle
harttle merged commit ce93805 into next Aug 5, 2026
12 checks passed
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.

1 participant