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

Provide esm output #2

Closed
wants to merge 3 commits into from
Closed

Provide esm output #2

wants to merge 3 commits into from

Commits on Sep 3, 2018

  1. Provide esm output

    In this diff I added esm support via dual mode. The idea is keeping
    cjs/esm pair with the same file name and with js and mjs extensions.
    Bundler may choose which format to use.
    
    main (dist/index) bundler will choose on of these
    - dist/index.js
    - dist/index.mjs
    
    /emotion reexports from dist/emotion
    - dist/emotion/index.js
    - dist/emotion/index.mjs
    
    Ref https://medium.com/@giltayar/native-es-modules-in-nodejs-status-and-future-directions-part-i-ee5ea3001f71
    
    Upgraded babel to be able to use js config.
    TrySound committed Sep 3, 2018
    Copy the full SHA
    de639fb View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Flatten dist

    TrySound committed Sep 7, 2018
    Copy the full SHA
    b1a71be View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Copy the full SHA
    c10417f View commit details
    Browse the repository at this point in the history