Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Move url to dev dependencies
Browse files Browse the repository at this point in the history
It's only needed when bundling for the browser
  • Loading branch information
realityking committed Nov 27, 2020
1 parent 57414ab commit 8097f81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const buildCjs = {
return true;
}

// url is a built-in module and should not be bundled either
if (id === 'url') {
return true;
}

return false;
},
plugins: [
Expand Down

0 comments on commit 8097f81

Please sign in to comment.