Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Jan 29, 2020
1 parent 5e1ac00 commit 4b7c515
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ export default [
file: 'esm/client.js',
format: 'esm'
},
plugins: [resolve({ preferBuiltins: false }), commonjs()]
plugins: [
resolve({ preferBuiltins: false, browser: true }),
commonjs(),
builtins()
]
},
{
input: 'src/server.js',
Expand Down Expand Up @@ -44,7 +48,7 @@ export default [
},
plugins: [
json(),
resolve({ preferBuiltins: false }),
resolve({ preferBuiltins: false, browser: true }),
commonjs(),
builtins(),
globals()
Expand Down

0 comments on commit 4b7c515

Please sign in to comment.