From 9e13066a0c4934ae8e3945f3ee76d1d44ef519d4 Mon Sep 17 00:00:00 2001 From: pngwn Date: Sat, 8 Jun 2019 17:36:11 +0100 Subject: [PATCH] Add browser:true to rollup-plugin-node-resolve. --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index a92e3ed..087e455 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -30,7 +30,7 @@ export default { // some cases you'll need additional configuration — // consult the documentation for details: // https://github.com/rollup/rollup-plugin-commonjs - resolve(), + resolve({ browser: true }), commonjs(), // Watch the `public` directory and refresh the