<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                --- order: 1 title: 構建 type: 構建和部署 --- ## 構建 當項目開發完畢,只需要運行一行命令就可以打包你的應用: ```bash $ npm run build ``` [![asciicast](https://asciinema.org/a/198144.png)](https://asciinema.org/a/198144) 由于 Ant Design Pro 使用的工具 [Umi](https://umijs.org/) 已經將復雜的流程封裝完畢,構建打包文件只需要一個命令 `umi build`,構建打包成功之后,會在根目錄生成 `dist` 文件夾,里面就是構建打包好的文件,通常是 `*.js`、`*.css`、`index.html` 等靜態文件。。 如果需要自定義構建,比如指定 `dist` 目錄等,可以通過 `config/config.ts` 進行配置,詳情參看:[Umi 配置](https://umijs.org/guide/config.html)。 ### 分析構建文件體積 如果你的構建文件很大,你可以通過 `analyze` 命令構建并分析依賴模塊的體積分布,從而優化你的代碼。 ```bash $ npm run analyze ``` 上面的命令會自動在瀏覽器打開顯示體積分布數據的網頁。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看