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

[feature] ESM exports #33

Open
marlonmarcello opened this issue Oct 26, 2021 · 0 comments
Open

[feature] ESM exports #33

marlonmarcello opened this issue Oct 26, 2021 · 0 comments

Comments

@marlonmarcello
Copy link

Problem

Right now Robits have requirements that lock a project into a set structure:

  1. It doesn't support CSS-in-JS
  2. Requires Webpack
  3. Requires Babel
  4. Requires Github Packages (minor)

Solution

We need to update the project to use a modern distribution system and also potentially distribute through both NPM and Github Packages.

Packaging

We can use Rollup to simplify the bundling process and compile the package into both modern ESM and legacy CJS.

Distribution

We can automate the distribution process with a Github action that will send the package to NPM and Github Packages.

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

1 participant