Add support for treeshaking (#1423)

According to Rollup guide adding `module` field in package.json helps tree shaking aware tools like webpack 2 or rollup import the ES6 modules directly to use the tree shaking feature and reduce the bundle size.
old
Ankur Patel 2017-05-09 11:02:09 -04:00 committed by Javi Velasco
parent 8df122ac8e
commit d2eee5ad4f
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"homepage": "http://www.react-toolbox.com",
"version": "2.0.0-beta.8",
"main": "./lib",
"module": "./components",
"author": {
"email": "javier.velasco86@gmail.com",
"name": "Javier Velasco Arjona",