Ionic 4.0.0-rc.1 發佈,混合應用的前端開發框架

收藏待读

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"
+             }

原文 : 開源中國

相關閱讀

免责声明:本文内容来源于開源中國,已注明原文出处和链接,文章观点不代表立场,如若侵犯到您的权益,或涉不实谣言,敬请向我们提出检举。