From c50f19a118df4c21131426b28d196e56b7496291 Mon Sep 17 00:00:00 2001 From: kenju Date: Sun, 1 Jan 2017 02:10:29 +0900 Subject: [PATCH] [fixed] Add file extention to entry point (#294) http://stackoverflow.com/questions/41077055/typescript-2-1-feature-of-implicit-import-not-working --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ff86d105..80016586 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "react-modal", "version": "1.6.4", "description": "Accessible modal dialog component for React.JS", - "main": "./lib/index", + "main": "./lib/index.js", "repository": { "type": "git", "url": "https://github.com/reactjs/react-modal.git"