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

Initialize Rollup #8

Closed
CITguy opened this issue Jul 31, 2018 · 2 comments
Closed

Initialize Rollup #8

CITguy opened this issue Jul 31, 2018 · 2 comments
Assignees

Comments

@CITguy
Copy link
Contributor

CITguy commented Jul 31, 2018

As a Developer, I would like to run a command to generate distributable assets, so that I don't have to build them manually.


  • Generate in CommonJS format, for Node consumption.
@CITguy
Copy link
Contributor Author

CITguy commented Aug 3, 2018

The typical consumption of HelixReact will be in an environment where the consumer will require a build process (webpack + Babel/TypeScript), which means that consuming code will be . Given this information, we don't actually need rollup, because we can point directly to the source code for consumption.

{
  ...
  "main": "src/index.js", /* CJS format */
  "module": "src/index.mjs", /* ESM format */
  ...
}

@cathysiller
Copy link
Contributor

merged

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

No branches or pull requests

2 participants