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 9bd3ecc commit c5bdb2bCopy full SHA for c5bdb2b
packages/@vue/cli-service/lib/Service.js
@@ -178,7 +178,7 @@ module.exports = class Service {
178
) {
179
let apply = () => {}
180
try {
181
- apply = require(resolveModule(id, this.pkgContext))
+ apply = loadModule(id, this.pkgContext)
182
} catch (e) {
183
warn(`Optional dependency ${id} is not installed.`)
184
}
0 commit comments