Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Add es build to Radium. #966

Closed
6 tasks done
ryan-roemer opened this issue Feb 6, 2018 · 0 comments · Fixed by #968
Closed
6 tasks done

Add es build to Radium. #966

ryan-roemer opened this issue Feb 6, 2018 · 0 comments · Fixed by #968

Comments

@ryan-roemer
Copy link
Member

ryan-roemer commented Feb 6, 2018

  • Output es/ directory with ESM export/imports intact.
  • Add package.json fields module and jsnext:main pointing to es/index.js
  • Remove babel-plugin-transform-es2015-modules-commonjs and switch es2015 preset to babel-preset-env
  • gitignore es
  • whitelist .npmignore.publishr adding !/es to actually publish to npm
  • ... figure out if I've missed anything else... 😛

Prior examples in other repos:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants