Add browser:true to rollup-plugin-node-resolve.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user