Create React App 2.1.2 发布,零配置创建 App

  

Create React App 2.1.2 已发布,Create React App 是由 Facebook 推出的脚手架,基本可以零配置搭建基于 webpack 的 React 开发环境,并内置了热更新等功能。 

这是一个维护版本,包含各种修复:

新特性

  • babel-preset-react-app

    • #5487 Add allowESModules option to babel-preset-react-app

Bug 修复

  • create-react-app

    • #5905 Disable copy to clipboard in create-react-app --info

    • #5685 Update envinfo to 5.11.1

  • babel-preset-react-app

    • #5783 Fix TypeScript decorator support

  • babel-plugin-named-asset-import

    • #5573 Fix named-asset-import plugin to work with export-as syntax

  • react-app-polyfill

    • #5789 Don't polyfill fetch for Node

  • react-scripts

    • #5721 Version bump postcss-preset-env to latest

    • #5701 Fix tsconfig.json lib suggested value

改进

  • react-scripts

    • #5698 Add support for setupTests.ts

另外还有大量文档相关的修复和改进,详见发行说明

源码下载:

猜你喜欢

转载自www.oschina.net/news/103066/create-react-app-2-1-2-released