mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 19:39:51 +08:00
Fix publish problem
This commit is contained in:
parent
346337936a
commit
5c00b0e66b
5
index.js
5
index.js
@ -1,5 +1,4 @@
|
|||||||
import './style/index.less';
|
require('./style/index.less');
|
||||||
import deprecate from 'util-deprecate';
|
|
||||||
|
|
||||||
// matchMedia polyfill for
|
// matchMedia polyfill for
|
||||||
// https://github.com/WickyNilliams/enquire.js/issues/82
|
// https://github.com/WickyNilliams/enquire.js/issues/82
|
||||||
@ -48,7 +47,7 @@ const antd = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// deprecate antd.confirm
|
// deprecate antd.confirm
|
||||||
antd.confirm = deprecate(antd.confirm, 'antd.confirm() is deprecated, use antd.Modal.confirm() instead');
|
antd.confirm = require('util-deprecate')(antd.confirm, 'antd.confirm() is deprecated, use antd.Modal.confirm() instead');
|
||||||
|
|
||||||
module.exports = antd;
|
module.exports = antd;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "antd",
|
"name": "antd",
|
||||||
"version": "0.9.0-beta4",
|
"version": "0.9.0-beta5",
|
||||||
"stableVersion": "0.8.0",
|
"stableVersion": "0.8.0",
|
||||||
"title": "Ant Design",
|
"title": "Ant Design",
|
||||||
"description": "一个 UI 设计语言",
|
"description": "一个 UI 设计语言",
|
||||||
|
Loading…
Reference in New Issue
Block a user