<small id='s5aYu'></small><noframes id='s5aYu'>

      <bdo id='s5aYu'></bdo><ul id='s5aYu'></ul>

  • <legend id='s5aYu'><style id='s5aYu'><dir id='s5aYu'><q id='s5aYu'></q></dir></style></legend>

  • <i id='s5aYu'><tr id='s5aYu'><dt id='s5aYu'><q id='s5aYu'><span id='s5aYu'><b id='s5aYu'><form id='s5aYu'><ins id='s5aYu'></ins><ul id='s5aYu'></ul><sub id='s5aYu'></sub></form><legend id='s5aYu'></legend><bdo id='s5aYu'><pre id='s5aYu'><center id='s5aYu'></center></pre></bdo></b><th id='s5aYu'></th></span></q></dt></tr></i><div id='s5aYu'><tfoot id='s5aYu'></tfoot><dl id='s5aYu'><fieldset id='s5aYu'></fieldset></dl></div>

      1. <tfoot id='s5aYu'></tfoot>

        如何处理来自 gulp-babel 的“代码生成器对样式进

        时间:2023-05-27

          <tfoot id='EO6Ao'></tfoot>
        • <legend id='EO6Ao'><style id='EO6Ao'><dir id='EO6Ao'><q id='EO6Ao'></q></dir></style></legend>

            <small id='EO6Ao'></small><noframes id='EO6Ao'>

              <bdo id='EO6Ao'></bdo><ul id='EO6Ao'></ul>

                    <tbody id='EO6Ao'></tbody>
                  <i id='EO6Ao'><tr id='EO6Ao'><dt id='EO6Ao'><q id='EO6Ao'><span id='EO6Ao'><b id='EO6Ao'><form id='EO6Ao'><ins id='EO6Ao'></ins><ul id='EO6Ao'></ul><sub id='EO6Ao'></sub></form><legend id='EO6Ao'></legend><bdo id='EO6Ao'><pre id='EO6Ao'><center id='EO6Ao'></center></pre></bdo></b><th id='EO6Ao'></th></span></q></dt></tr></i><div id='EO6Ao'><tfoot id='EO6Ao'></tfoot><dl id='EO6Ao'><fieldset id='EO6Ao'></fieldset></dl></div>
                  本文介绍了如何处理来自 gulp-babel 的“代码生成器对样式进行优化"消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我刚刚使用 gulp-babel 到我的 gulp 文件中,如下

                  I've just employed gulp-babel to my gulp file with the following

                  var babel = require('gulp-babel');
                  
                  return gulp.src(files.concat.js.myModule)
                    .pipe(babel())
                    .pipe(concat('myModule.js'))
                    .pipe(gulp.dest('path/to/js'));
                  

                  ...我得到以下关于在我的 gulp 输出中取消优化样式的 Note:

                  ...and I get the following Note about deoptimising the styling in my gulp output:

                  NOTE: The code generator has deoptimised the styling ... as it exceeds the max of "100KB"
                  

                  这是个问题吗?
                  我应该以某种方式处理这个问题吗?

                  Is this a problem?
                  Should I be handling this is some way?

                  推荐答案

                  原来 compact 选项默认设置为 auto 删除多余的空白字符和行终止符 [...] 输入大小 > 100KB".

                  Turns out the compact option is set to auto by default which removes "superfluous whitespace characters and line terminators [...] on input sizes >100KB".

                  如果这不是你想要的,你可以设置 compact 选项 为假...

                  If this is not what you want, you can set the compact option to false...

                  .pipe(babel({compact: false}))
                  

                  这篇关于如何处理来自 gulp-babel 的“代码生成器对样式进行优化"消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:gulp browserify reactify 任务很慢 下一篇:Gulp Sass - 如何正确命名输出 css?

                  相关文章

                  最新文章

                  • <bdo id='MTt3J'></bdo><ul id='MTt3J'></ul>
                  1. <i id='MTt3J'><tr id='MTt3J'><dt id='MTt3J'><q id='MTt3J'><span id='MTt3J'><b id='MTt3J'><form id='MTt3J'><ins id='MTt3J'></ins><ul id='MTt3J'></ul><sub id='MTt3J'></sub></form><legend id='MTt3J'></legend><bdo id='MTt3J'><pre id='MTt3J'><center id='MTt3J'></center></pre></bdo></b><th id='MTt3J'></th></span></q></dt></tr></i><div id='MTt3J'><tfoot id='MTt3J'></tfoot><dl id='MTt3J'><fieldset id='MTt3J'></fieldset></dl></div>

                    1. <tfoot id='MTt3J'></tfoot>
                    2. <small id='MTt3J'></small><noframes id='MTt3J'>

                      <legend id='MTt3J'><style id='MTt3J'><dir id='MTt3J'><q id='MTt3J'></q></dir></style></legend>