久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

  • <tfoot id='perw5'></tfoot>

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

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

        • <bdo id='perw5'></bdo><ul id='perw5'></ul>

        為什么我必須在 gulp 中使用vinyl-source-stream?

        Why do I have to use vinyl-source-stream with gulp?(為什么我必須在 gulp 中使用vinyl-source-stream?)
        <i id='5pZyo'><tr id='5pZyo'><dt id='5pZyo'><q id='5pZyo'><span id='5pZyo'><b id='5pZyo'><form id='5pZyo'><ins id='5pZyo'></ins><ul id='5pZyo'></ul><sub id='5pZyo'></sub></form><legend id='5pZyo'></legend><bdo id='5pZyo'><pre id='5pZyo'><center id='5pZyo'></center></pre></bdo></b><th id='5pZyo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5pZyo'><tfoot id='5pZyo'></tfoot><dl id='5pZyo'><fieldset id='5pZyo'></fieldset></dl></div>
      1. <small id='5pZyo'></small><noframes id='5pZyo'>

              <bdo id='5pZyo'></bdo><ul id='5pZyo'></ul>
            • <tfoot id='5pZyo'></tfoot>

                <legend id='5pZyo'><style id='5pZyo'><dir id='5pZyo'><q id='5pZyo'></q></dir></style></legend>

                  <tbody id='5pZyo'></tbody>

                1. 本文介紹了為什么我必須在 gulp 中使用vinyl-source-stream?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在嘗試使用 gulp 和 browserify 將我的 .jsx 文件轉換為 .js 文件.

                  I am trying to use gulp and browserify to transform my .jsx files into .js files.

                  var gulp = require('gulp');
                  var browserify = require('browserify');
                  var reactify = require('reactify');
                  
                  gulp.task('js', function () {
                    browserify('public/javascripts/src/app.jsx')
                      .transform(reactify)
                      .bundle()
                      .pipe(gulp.dest('public/javascripts/dist'))
                  });
                  

                  ```

                  上面拋出的path.resolve 的參數必須是字符串.我設法通過使用 vinyl-source-stream

                  The above threw Arguments to path.resolve must be strings. I managed to get around it by using vinyl-source-stream

                  var source = require('vinyl-source-stream');
                  ...
                  .bundle()
                  .source('app.js')
                  ...
                  

                  為什么會這樣?我對 nodejs 和 gulp 還很陌生.看了項目的README和源碼,還是一頭霧水.有什么幫助嗎?

                  Why does this work? I am fairly new to nodejs and gulp. After reading the README of the project and the source code, I am still confused. Any help?

                  推薦答案

                  我認為閱讀這篇文章 <強>一飲而盡該項目的愿景、歷史和未來可以幫助您澄清一些概念.

                  I think that reading this article gulp The vision, history, and future of the project can help you to clarify a few concepts.

                  基本上你可以說 vinyl-source-stream 轉換 可讀流你從 browserify 得到的 vinyl 流 這就是 gulp 期望得到的.

                  Basically you can say that vinyl-source-stream convert the readable stream you get from browserify into a vinyl stream that is what gulp is expecting to get.

                  乙烯基流是一種虛擬文件格式,它是Gulp的基礎.多虧了這個乙烯基流,Gulp 不需要在不同的轉換之間編寫臨時文件.這是它優于 Grunt 的主要優勢之一.

                  A vinyl stream is a Virtual file format, and it is fundamental for Gulp. Thanks to this vinyl streams Gulp doesn't need to write a temporal file between different transformations. And this is one of the main advantages it has over Grunt.

                  這篇關于為什么我必須在 gulp 中使用vinyl-source-stream?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                  <tfoot id='1YFzU'></tfoot>

                    <bdo id='1YFzU'></bdo><ul id='1YFzU'></ul>
                    <i id='1YFzU'><tr id='1YFzU'><dt id='1YFzU'><q id='1YFzU'><span id='1YFzU'><b id='1YFzU'><form id='1YFzU'><ins id='1YFzU'></ins><ul id='1YFzU'></ul><sub id='1YFzU'></sub></form><legend id='1YFzU'></legend><bdo id='1YFzU'><pre id='1YFzU'><center id='1YFzU'></center></pre></bdo></b><th id='1YFzU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1YFzU'><tfoot id='1YFzU'></tfoot><dl id='1YFzU'><fieldset id='1YFzU'></fieldset></dl></div>
                      <tbody id='1YFzU'></tbody>
                  • <legend id='1YFzU'><style id='1YFzU'><dir id='1YFzU'><q id='1YFzU'></q></dir></style></legend>

                          • <small id='1YFzU'></small><noframes id='1YFzU'>

                          • 主站蜘蛛池模板: 性做久久| 日本免费高清视频 | 国产精品久久久久久久久久久久久久久 | 久久av一区二区三区亚洲 | 综合久久网 | 日韩在线小视频 | 这里都是精品 | av在线免费观看网址 | 国产h在线| 一级片免费在线观看 | 国产视频网| 欧美日韩国产二区 | 99视频在线播放 | 亚洲免费网站 | 一区二区三区免费观看 | 黄色a毛片 | 色在线视频 | 性欧美69| 一区二区三区日韩 | 欧美综合网 | 黄色片久久| 中文字幕一二区 | 男人添女荫道口图片 | 国产1区2区3区 | 欧美中文字幕在线 | 国产一级黄色 | 亚洲欧美网站 | 亚洲精品aaa| 国产成人精品一区二区三区福利 | 中文日韩欧美 | 午夜精品视频在线观看 | 欧美精品久久久久 | 国产成人精品av | a视频在线免费观看 | 精品国产欧美 | 一级片av| a视频在线免费观看 | 亚洲另类视频 | 久久久久久久免费视频 | 免费成人毛片 | 国产一区二区不卡视频 |