Skip to content
Permalink
Browse files

πŸ› Add names to plugins. (fix #12)

  • Loading branch information...
mathieutu committed Apr 25, 2019
1 parent 572d62d commit c4e50f9ff193d74aff9071c232254ab55a1a3f18
Showing with 3 additions and 0 deletions.
  1. +1 βˆ’0 src/.vuepress/plugins/lastCommit.js
  2. +2 βˆ’0 src/.vuepress/plugins/offlineStore/index.js
@@ -1,6 +1,7 @@
const spawn = require('cross-spawn');

module.exports = () => ({
name: 'lastCommit',
extendPageData($page) {
$page.lastCommit = getGitLastCommit($page._filePath);
}
@@ -10,6 +10,8 @@ module.exports = (options, ctx) => {
const storagePath = resolve(ctx.outDir, 'storage.json');

return {
name: 'localeStore',

enhanceAppFiles: resolve(__dirname, 'enhanceAppFile.js'),

generated(pages) {

0 comments on commit c4e50f9

Please sign in to comment.
You can’t perform that action at this time.