From 049bff17f5a4de24da76c5386c8ca1dd965e29c0 Mon Sep 17 00:00:00 2001 From: Matthew Schnee Date: Fri, 22 Sep 2017 15:05:07 -0700 Subject: [PATCH] Support Webpack 2, Webpack 3, rollup. Current LTS versions of Webpack and Node honor the standardized `module` field in the `package.json`. As I am using webpack 3 and was confused when it wasn't resolving your awesome optimized dist builds, I decided to PR it for y'all. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index cbbf3caab4..c51f308992 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "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", "style": "dist/react-select.min.css", "author": "Jed Watson", "license": "MIT",