Skip to content

Commit

Permalink
Merge pull request #2641 from TrySound/es-to-esm
Browse files Browse the repository at this point in the history
Prefer more descriptive esm word instead of es
  • Loading branch information
JedWatson committed Jul 23, 2018
2 parents cc095f8 + 74864af commit 7567283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -3,8 +3,7 @@
"version": "2.0.0-beta.6",
"description": "A Select control built with and for ReactJS",
"main": "lib/index.js",
"jsnext:main": "dist/react-select.es.js",
"module": "dist/react-select.es.js",
"module": "dist/react-select.esm.js",
"author": "Jed Watson",
"license": "MIT",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions rollup.config.js
Expand Up @@ -43,6 +43,7 @@ export default [
external: [...external, 'raf'],
plugins: [babel(babelOptions())],
},

{
input: 'src/index.umd.js',
output: {
Expand All @@ -54,6 +55,7 @@ export default [
external,
plugins: [babel(babelOptions()), resolve(), commonjs()],
},

{
input: 'src/index.umd.js',
output: {
Expand Down

0 comments on commit 7567283

Please sign in to comment.