Ionic 4.0.0-rc.1 发布,混合应用的前端开发框架

  

Ionic 4.0.0 第二个 RC 版 4.0.0-rc.1 发布了,该版本对 项目构建速度进行了优化,对 Webpack 的相关配置做了调整,详细情况请查看更新说明。

Bug Fixes

Features

  • radio-group: add missing implementation for property allowEmptySelection (#16880) (09726b0), closes #16841

  • react: add missing simple components to react. (#16836) (696f62c)

  • react: create initial portal implementation for overlay ctrls (#16830) (99bdd1f)

  • react: Initial implementations of controller required elements. (#16817) (e30c5f1)

Performance Improvements

BREAKING CHANGES

In order to speed up the build and reduce the main bundle size, we have moved the ionicons outside the webpack build pipeline.

Instead, a new copy task needs to be added to the angular.json, specifically to the the "assets" option of the "build".

angular.json

{
  "projects": {
    "app": {
      "architect": {
        "build": {
          "options": {
            "assets": [
              {
                "glob": "**/*",
                "input": "src/assets",
                "output": "assets"
              },
+             {
+               "glob": "**/*.svg",
+               "input": "node_modules/ionicons/dist/ionicons/svg",
+               "output": "./svg"
+             }

猜你喜欢

转载自www.oschina.net/news/103494/ionic-4-0-0-rc-1
0条评论
添加一条新回复