From b84cb4ba45de63e60fb825a650bcc333bf09af20 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 6 Dec 2017 23:23:11 +0800 Subject: [PATCH] Fix typo --- CHANGELOG.en-US.md | 2 +- CHANGELOG.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 83e2371b08..16b5fbccf1 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -177,7 +177,7 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi - Don't need set `allowSyntheticDefaultImports` when using in TypeScript. - We removed `react@0.14` and `react@15` from `peerDependencies`, though `antd@3.0` still works on old React versions, but we highly recommend you upgrading to React 16 since we may use the new features only exists in React 16 in the future. See [React 16](https://reactjs.org/blog/2017/09/26/react-v16.0.html) -- Fully es module support, if you are using webpack 3, you can set babel-import-plugin's `libraryDirectory` to `es` to enable tree shaking . +- Fully es module support, if you are using webpack 3, you can set babel-plugin-import's `libraryDirectory` to `es` to enable tree shaking . - We will support 2.x branch until July in next year. ## 2.x diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index e545857ed5..adfbb7adfb 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -188,7 +188,7 @@ timeline: true - 在 TypeScript 中使用时不再需要设置 `allowSyntheticDefaultImports`。 - 从 `peerDependencies` 中移除了 `react@0.14` 和 `react@15`,虽然目前 antd 3.0.0 依然可以在旧版本的 React 上使用,但是我们在未来有可能使用 React 16 的新特性,所以强烈建议升级到 React 16,见[升级文档](https://reactjs.org/blog/2017/09/26/react-v16.0.html)。 -- 全面支持 ES Module ,antd 及其依赖的底层 react-component 组件全部提供了 ES Module 的构建版本,如果你使用 webpack 3,可以把 `babel-import-plugin` 的 `libraryDirectory` 设置为 `es`,以获得 Tree Shaking 的优化效果。 +- 全面支持 ES Module ,antd 及其依赖的底层 react-component 组件全部提供了 ES Module 的构建版本,如果你使用 webpack 3,可以把 `babel-plugin-import` 的 `libraryDirectory` 设置为 `es`,以获得 Tree Shaking 的优化效果。 - 最后,我们会继续维护 2.x 的分支到明年 6 月份。 ## 2.x -- GitLab