Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(esm): fix path to ES module #197

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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