<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國際加速解決方案。 廣告
                >[success] # 在項目構件時候在控制臺更好的顯示效果 [關于配置webpack顯示信息類型](https://webpack.js.org/configuration/stats/#statslogging) ~~~ 1.參考上面文章舉個例子如果配置 module.exports = { ... stats: 'errors-only' // 在執行命令階段在控制臺只顯示報錯信息 }; 2.為了讓這些信息更好看,可以使用'friendly-errors-webpack-plugin' var NotifierPlugin = require('friendly-errors-webpack-plugin'); module.exports = { ... plugins: [ new FriendlyErrorsWebpackPlugin() ], }; ~~~ * 圖片來自極客時間 friendly-errors-webpack-plugin可以讓不同類型報錯信息顯示更明顯 ![](https://img.kancloud.cn/f2/c0/f2c03cfa446c1001b461c7cd3c46a409_956x287.png) >[success] # 打包時候捕獲異常 ~~~ 1.在webpack 的plugins 配置可以獲取打包時候的異常 plugins: [ function() { this.hooks.done.tap('done', (stats) => { if (stats.compilation.errors && stats.compilation.errors.length && process.argv.indexOf('- -watch') == -1) { console.log('build error'); process.exit(1); } }) } ] ~~~
                  <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>

                              哎呀哎呀视频在线观看