Skip to content

Commit

Permalink
feat(injector): ready for internal plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Feb 6, 2020
1 parent dac9cb6 commit 630b76e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/hexo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ class Hexo {
require('../plugins/filter')(this);
require('../plugins/generator')(this);
require('../plugins/helper')(this);
require('../plugins/injector')(this);
require('../plugins/processor')(this);
require('../plugins/renderer')(this);
require('../plugins/tag')(this);
Expand Down
6 changes: 6 additions & 0 deletions lib/plugins/injector/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = ctx => {
// eslint-disable-next-line no-unused-vars
const { injector } = ctx.extend;
};

0 comments on commit 630b76e

Please sign in to comment.