From 3ff988861e401447aab07faeb552bf0453def192 Mon Sep 17 00:00:00 2001 From: Bertrand Marron Date: Thu, 8 Feb 2018 17:55:16 +0100 Subject: [PATCH] Improve build process (#792) * Use preset-env instead of preset-es2015 Remove preset-stage-2 and use individual required plugins. * Expose es module build * Update scripts in package.json * Use rollup for faster and lighter umd builds Add non minified version of the build. --- .gitignore | 2 + README.md | 1 + package.json | 87 +++- rollup.config.js | 42 ++ umd.webpack.js | 20 - yarn.lock | 1250 +++++++++++++++------------------------------- 6 files changed, 513 insertions(+), 889 deletions(-) create mode 100644 rollup.config.js delete mode 100644 umd.webpack.js diff --git a/.gitignore b/.gitignore index 2ed1802..edbea8e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ node_modules/ lib/ +es/ docs/build react-table.js +react-table.min.js react-table.css *.log .idea diff --git a/README.md b/README.md index 6e513a8..02c90a8 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ import 'react-table/react-table.css' +