Skip to content

chore(pkg): add rollup build process#124

Merged
with-heart merged 10 commits into
masterfrom
chore/113-rollup-build
Jul 8, 2019
Merged

chore(pkg): add rollup build process#124
with-heart merged 10 commits into
masterfrom
chore/113-rollup-build

Conversation

@with-heart

@with-heart with-heart commented Jul 8, 2019

Copy link
Copy Markdown
Collaborator

closes #113

This PR enables a build process for the package, allowing us to enable babel transpilation, multiple output targets (both cjs and es modules), minification, sourcemaps, and more. This also updates the existing files in src to use import and export syntax.

The majority of the changes live in package.json and rollup.config.js.

@with-heart

Copy link
Copy Markdown
Collaborator Author

I had a friend (@erikthered) pull these changes down to verify that build and test scripts are working fine. Going to go ahead and merge these changes in.

@with-heart with-heart merged commit caa8e01 into master Jul 8, 2019
@with-heart with-heart deleted the chore/113-rollup-build branch July 8, 2019 19:41
@FezVrasta

Copy link
Copy Markdown
Contributor

Why do we need Rollup? Wouldn't a simpler babel compile step be enough? I don't think we need bundles considering this is a node.js package, not meant to run on browser.

@with-heart with-heart restored the chore/113-rollup-build branch August 10, 2019 16:41
@with-heart with-heart deleted the chore/113-rollup-build branch August 10, 2019 16:44
@with-heart with-heart restored the chore/113-rollup-build branch September 4, 2019 15:47
@with-heart with-heart deleted the chore/113-rollup-build branch September 4, 2019 15:48
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.

Add rollup build

2 participants