Skip to content

Commit

Permalink
fix(esm): fix path to ES module (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettn authored and Kent C. Dodds committed Sep 22, 2017
1 parent 70f602b commit 1c952ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion other/__tests__/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
import assert from 'assert'

import esImport from '../../dist/downshift.es'
import esImport from '../../dist/downshift.esm'

import cjsImport from '../../' // picks up the main from package.json

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description":
"A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete components",
"main": "dist/downshift.cjs.js",
"jsnext:main": "dist/downshift.es.js",
"module": "dist/downshift.es.js",
"jsnext:main": "dist/downshift.esm.js",
"module": "dist/downshift.esm.js",
"typings": "typings/index.d.ts",
"scripts": {
"add-contributor": "kcd-scripts contributors add",
Expand Down

0 comments on commit 1c952ff

Please sign in to comment.