Remove core-js from devDeps

This commit is contained in:
afc163 2019-03-20 18:32:39 +08:00
parent 9e395f3259
commit f95d8e616d
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48
3 changed files with 1 additions and 3 deletions

View File

@ -48,7 +48,7 @@ describe('Affix Render', () => {
};
const originGetBoundingClientRect = HTMLElement.prototype.getBoundingClientRect;
HTMLElement.prototype.getBoundingClientRect = function() {
HTMLElement.prototype.getBoundingClientRect = function getBoundingClientRect() {
return (
classRect[this.className] || {
top: 0,

View File

@ -114,7 +114,6 @@
"bisheng-plugin-toc": "^0.4.4",
"chalk": "^2.4.1",
"commander": "^2.18.0",
"core-js": "^2.5.7",
"cross-env": "^5.2.0",
"css-split-webpack-plugin": "^0.2.6",
"dekko": "^0.2.1",

View File

@ -1,4 +1,3 @@
require('core-js/es6/string');
const path = require('path');
const homeTmpl = './template/Home/index';