Skip to content

Commit

Permalink
refactor(package): use Object.assign instead of object-assign package (
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin authored and tomap committed Jan 3, 2019
1 parent 68cdfdb commit ed8c38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* global hexo */
'use strict';

var assign = require('object-assign');

hexo.config.tag_generator = assign({
hexo.config.tag_generator = Object.assign({
per_page: hexo.config.per_page == null ? 10 : hexo.config.per_page
}, hexo.config.tag_generator);

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"eslint-config-hexo": "^3.0.0"
},
"dependencies": {
"hexo-pagination": "0.1.0",
"object-assign": "^4.0.1"
"hexo-pagination": "0.1.0"
}
}

0 comments on commit ed8c38d

Please sign in to comment.