mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
⚡ Remove core-js from devDeps
This commit is contained in:
parent
9e395f3259
commit
f95d8e616d
@ -48,7 +48,7 @@ describe('Affix Render', () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const originGetBoundingClientRect = HTMLElement.prototype.getBoundingClientRect;
|
const originGetBoundingClientRect = HTMLElement.prototype.getBoundingClientRect;
|
||||||
HTMLElement.prototype.getBoundingClientRect = function() {
|
HTMLElement.prototype.getBoundingClientRect = function getBoundingClientRect() {
|
||||||
return (
|
return (
|
||||||
classRect[this.className] || {
|
classRect[this.className] || {
|
||||||
top: 0,
|
top: 0,
|
||||||
|
@ -114,7 +114,6 @@
|
|||||||
"bisheng-plugin-toc": "^0.4.4",
|
"bisheng-plugin-toc": "^0.4.4",
|
||||||
"chalk": "^2.4.1",
|
"chalk": "^2.4.1",
|
||||||
"commander": "^2.18.0",
|
"commander": "^2.18.0",
|
||||||
"core-js": "^2.5.7",
|
|
||||||
"cross-env": "^5.2.0",
|
"cross-env": "^5.2.0",
|
||||||
"css-split-webpack-plugin": "^0.2.6",
|
"css-split-webpack-plugin": "^0.2.6",
|
||||||
"dekko": "^0.2.1",
|
"dekko": "^0.2.1",
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require('core-js/es6/string');
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const homeTmpl = './template/Home/index';
|
const homeTmpl = './template/Home/index';
|
||||||
|
Loading…
Reference in New Issue
Block a user