Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: fixed core plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 7, 2018
1 parent 59fac5e commit cb0fc8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ export class Config implements IConfig {

this.npmRegistry = this.scopedEnvVar('NPM_REGISTRY') || this.pjson.anycli.npmRegistry || 'https://registry.yarnpkg.com'

if (this.pjson.anycli.plugins) {
this.loadPlugins(this.root, 'core', this.pjson.anycli.plugins)
}

if (opts.devPlugins !== false) {
try {
const devPlugins = this.pjson.anycli.devPlugins
Expand Down

0 comments on commit cb0fc8f

Please sign in to comment.