Add browser:true to rollup-plugin-node-resolve.

This commit is contained in:
pngwn 2019-06-08 17:36:11 +01:00 committed by Conv
parent 36940222be
commit 9e13066a0c

View file

@ -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