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

Commit 8097f81

Browse files
committed
Move url to dev dependencies
It's only needed when bundling for the browser
1 parent 57414ab commit 8097f81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rollup.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ const buildCjs = {
4242
return true;
4343
}
4444

45+
// url is a built-in module and should not be bundled either
46+
if (id === 'url') {
47+
return true;
48+
}
49+
4550
return false;
4651
},
4752
plugins: [

0 commit comments

Comments
 (0)