diff --git a/other/__tests__/build.js b/other/__tests__/build.js index d8c81aa97..bad027812 100644 --- a/other/__tests__/build.js +++ b/other/__tests__/build.js @@ -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 diff --git a/package.json b/package.json index a8648a29c..b303a0e93 100644 --- a/package.json +++ b/package.json @@ -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",