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: use cjs for Marko 4 and esm for 5 #28

Merged
merged 1 commit into from
Mar 3, 2020
Merged

Conversation

DylanPiercey
Copy link
Contributor

@DylanPiercey DylanPiercey commented Mar 3, 2020

Description

#26 switched the loader to inlining additional assets using esmodules. This is needed to support the Marko 5 compiler, however causes issues when using the Marko 4 compiler. This PR updates the loader to output commonjs for Marko 4 and esmodules for Marko 5.

fixes #27

Checklist:

  • I have updated/added documentation affected by my changes.
  • I have added tests to cover my changes.

@DylanPiercey DylanPiercey merged commit ea0bbde into master Mar 3, 2020
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.

Cannot assign to read only property 'exports' of object '#<Object>'
1 participant