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 —
|
// some cases you'll need additional configuration —
|
||||||
// consult the documentation for details:
|
// consult the documentation for details:
|
||||||
// https://github.com/rollup/rollup-plugin-commonjs
|
// https://github.com/rollup/rollup-plugin-commonjs
|
||||||
resolve(),
|
resolve({ browser: true }),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
|
|
||||||
// Watch the `public` directory and refresh the
|
// Watch the `public` directory and refresh the
|
||||||
|
|||||||
Reference in New Issue
Block a user