We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03ad7bf commit 29360e0Copy full SHA for 29360e0
src/config/rollup.config.js
@@ -80,7 +80,7 @@ if (isPreact) {
80
const externalPattern = new RegExp(`^(${external.join('|')})($|/)`)
81
82
function externalPredicate(id) {
83
- const isDep = externalPattern.test(id)
+ const isDep = external.length > 0 && externalPattern.test(id)
84
if (umd) {
85
// for UMD, we want to bundle all non-peer deps
86
return isDep
0 commit comments