Skip to content

Commit 2b0610d

Browse files
committed
don't have any dependencies in package.json
1 parent 94c3739 commit 2b0610d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rollup.config.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ export default {
1818
tweakDefault()
1919
],
2020
external: function (id) {
21-
if (isBuiltin(id)) {
22-
return true;
23-
}
24-
id = id.split('/').slice(0, id[0] === '@' ? 2 : 1).join('/');
25-
return !!require('./package.json').dependencies[id];
21+
return isBuiltin(id);
2622
}
2723
};

0 commit comments

Comments
 (0)