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

Bundle down ESM and CommonJS modules #13

Merged
merged 2 commits into from
Nov 6, 2018
Merged

Bundle down ESM and CommonJS modules #13

merged 2 commits into from
Nov 6, 2018

Conversation

VitorLuizC
Copy link
Collaborator

  • Use Bili instead of rollup to transpile and bundle to ESM, CommonJS and UMD;
  • Include dist/ directory with all distribution modules;
  • Changed package.json entries to use all module outputs;
  • Fixed NPM ignore strategy, use package's files property instead of npmignore

    Inverse logic: It add only the needed files (README and LICENSE are added too) instead of ignoring everything but it

Fixes #12 #8

@superwf superwf merged commit 29e9414 into superwf:master Nov 6, 2018
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