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

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

    1. <legend id='7Lh7e'><style id='7Lh7e'><dir id='7Lh7e'><q id='7Lh7e'></q></dir></style></legend>

      <small id='7Lh7e'></small><noframes id='7Lh7e'>

      1. <tfoot id='7Lh7e'></tfoot>
          <bdo id='7Lh7e'></bdo><ul id='7Lh7e'></ul>

        Gulp-sourcemaps 沒有創(chuàng)建源映射文件?

        Gulp-sourcemaps not creating a sourcemap file?(Gulp-sourcemaps 沒有創(chuàng)建源映射文件?)

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

              • <small id='Tdt0m'></small><noframes id='Tdt0m'>

                1. 本文介紹了Gulp-sourcemaps 沒有創(chuàng)建源映射文件?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在嘗試讓 Gulp 源映射來寫入文件,但我無法在任何地方看到這些文件.如果在工作樹中創(chuàng)建了任何新文件,我會在 git status 中看到它們,但沒有找到任何新文件.

                  I'm trying to get Gulp sourcemaps to write files, but I can't see these files anywhere. If any new files were created in the working tree, I would see them in git status, but nothing no new files to be found.

                  下面是我的 gulpfile.js

                  Below is my gulpfile.js

                  var gulp = require('gulp'),
                      sourcemaps = require('gulp-sourcemaps'),
                      minify = require('gulp-minify'),
                      concat = require('gulp-concat'),
                      uglify = require('gulp-uglify');
                  
                  gulp.task('js', function() {
                  
                      return gulp.src('src/js/**/*.js')
                          .pipe(sourcemaps.init())
                              .pipe(concat('all.js'))
                              .pipe(uglify())
                          .pipe(sourcemaps.write())
                          .pipe(gulp.dest('./public/js'));
                  });
                  

                  這是正確的用法嗎?從我在其他地方看到的例子來看,這應(yīng)該沒問題.我還看到這些插件與源地圖兼容:https://github.com/floridoo/gulp-sourcemaps/wiki/Plugins-with-gulp-sourcemaps-support

                  Is this correct usage? From the examples I've seen elsewhere, this should be OK. I also see that these plugins are compatable with sourcemaps: https://github.com/floridoo/gulp-sourcemaps/wiki/Plugins-with-gulp-sourcemaps-support

                  推薦答案

                  使用 sourcemaps.write() 方法,將源映射行附加到 all.js文件.如果要編寫外部源映射文件,則需要將路徑傳遞給 sourcemaps.write() 方法:

                  Using the sourcemaps.write() method the way you do appends a source maps line to the all.js file. If you want to write external source map files, you'll need to pass the path to the sourcemaps.write() method:

                  sourcemaps.write('../maps')
                  

                  https://www.npmjs.com/package/gulp-sourcemaps

                  這篇關(guān)于Gulp-sourcemaps 沒有創(chuàng)建源映射文件?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  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?(是否可以將標(biāo)志傳遞給 Gulp 以使其以不同的方式運行任務(wù)?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務(wù))
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)

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

                      • <bdo id='ppsD9'></bdo><ul id='ppsD9'></ul>
                        <tfoot id='ppsD9'></tfoot>

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

                          • <legend id='ppsD9'><style id='ppsD9'><dir id='ppsD9'><q id='ppsD9'></q></dir></style></legend>
                              <tbody id='ppsD9'></tbody>
                            主站蜘蛛池模板: 日韩精品视频网站 | 国产日韩视频 | 欧美日韩精品一区二区在线播放 | 久久99九九 | 欧美成人久久 | 天天综合av | 国产一区二区在线播放 | 成人福利在线观看 | 亚洲成人福利 | 青青久操| 午夜免费在线 | 天天碰天天操 | 色综合一区| 午夜时刻免费入口 | 精品视频在线免费观看 | 国产福利网站 | 日韩性生活视频 | h视频在线播放 | 国产欧美综合一区二区三区 | 秋霞福利视频 | 九九热在线视频观看 | 免费性视频 | 深夜福利免费 | 免费看大片a | 国产乱码精品一区二区三区忘忧草 | 伊人免费 | 深夜免费福利 | 一区二区三区毛片 | 99re国产 | 亚洲成人福利 | 激情综合网五月 | 中文字幕在线免费观看 | 欧美色图在线视频 | 性欧美69| 欧美一级日韩一级 | 国产三级视频在线播放 | 国产精品久久久久久久免费看 | 自拍偷在线精品自拍偷无码专区 | 久久免费国产视频 | aaa免费视频 | 亚洲成人福利 |