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

Update bundling #67

Merged
merged 2 commits into from
Mar 26, 2022
Merged

Update bundling #67

merged 2 commits into from
Mar 26, 2022

Conversation

kylebarron
Copy link
Owner

@kylebarron kylebarron commented Mar 26, 2022

Change list

  • Structure output bundle in folders:
    • pkg/node
    • pkg/esm
    • pkg/bundler
  • Rename web to esm, since it can be used from Node as well (at least from Node 16) with import('./pkg/esm/arrow1.js')
  • Add minimal package.json with just {"type": "module"} to pkg/esm directory so that it also works in node out of the box

Closes #11

@kylebarron kylebarron merged commit 8a5b5f0 into main Mar 26, 2022
@kylebarron kylebarron deleted the kyle/update-bundling2 branch March 26, 2022 06:27
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.

Patch generated package.json to add type = "module"?
1 participant