Skip to content

Commit d9a68bb

Browse files
committed
allow to config corePluginsPath
1 parent 16554cf commit d9a68bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/default.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,5 +515,6 @@ module.exports = {
515515
*/
516516
},
517517

518-
pluginsPath: './plugins'
518+
pluginsPath: './plugins',
519+
corePluginsPath: './plugins'
519520
};

lib/plugins.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports.init = context => {
1111
module.exports.handler = new PluginHandler({
1212
logger: log,
1313
pluginsPath: config.pluginsPath,
14+
corePluginsPath: config.pluginsPath,
1415
plugins: config.plugins,
1516
context,
1617
log: config.log,

0 commit comments

Comments
 (0)