diff --git a/src/Bundler.js b/src/Bundler.js index 14fe505bc68..683213f03a0 100644 --- a/src/Bundler.js +++ b/src/Bundler.js @@ -143,7 +143,8 @@ class Bundler extends EventEmitter { try { let deps = Object.assign({}, pkg.dependencies, pkg.devDependencies); for (let dep in deps) { - if (dep.startsWith('parcel-plugin-')) { + const pattern = /^(@.*\/)?parcel-plugin-.+/; + if (pattern.test(dep)) { let plugin = await localRequire(dep, this.mainFile); await plugin(this); }