From 2662a1c7efbceec3bb991e0450f4d13b8d4f5c63 Mon Sep 17 00:00:00 2001 From: psychobolt Date: Mon, 18 Dec 2017 07:30:10 -0800 Subject: [PATCH] add react packages to rollup extern --- rollup.config.common.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rollup.config.common.js b/rollup.config.common.js index 4b56f9bf..12449d2f 100644 --- a/rollup.config.common.js +++ b/rollup.config.common.js @@ -22,4 +22,8 @@ export const plugins = [ export default { input: 'src/index.js', + external: [ + 'react', + 'react-dom', + ], };