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

build(esm): modify rollup.config.js and package.json for better ESM packaging #650

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    f2b35d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3b760f View commit details
    Browse the repository at this point in the history
  3. build(package.json, rollup.config.js): fix esm build to meet Node.js …

    …standard
    
    To meet Node.js standard, 2 things should be fixed:
    
    * ESM file should use `.mjs` extention
    instead of `.esm.js`.
    * `module` field in `package.json` is not standard way of Node.js. Use
    `exports` field instead.
    
    fix styled-components#649
    tkamenoko committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    51db107 View commit details
    Browse the repository at this point in the history