diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-09-26 10:53:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 10:53:49 +0800 |
commit | 667470c07a27e48fa466bf4d3b48cf9b062545d5 (patch) | |
tree | a07d3ded4cfc6900e6888b35de796e1628963e0d /gulpfile.js | |
parent | 98e9556a5f7535e0563adf01d08e8b8d6ae0bccb (diff) | |
parent | 678d174e1e7fa35e21607faeeefca0c28997cf1c (diff) | |
download | tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.tar tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.tar.gz tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.tar.bz2 tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.tar.lz tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.tar.xz tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.tar.zst tangerine-wallet-browser-667470c07a27e48fa466bf4d3b48cf9b062545d5.zip |
Merge pull request #5361 from MetaMask/firefox-fixes
Mozilla addon linter + Firefox builds passing
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 480f544d8..0ec0723d3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -229,11 +229,12 @@ function createScssBuildTask ({ src, dest, devMode, pattern }) { await endOfStream(stream) livereload.changed(event.path) }) + return buildScssWithSourceMaps() } return buildScss() } - function buildScss () { + function buildScssWithSourceMaps () { return gulp.src(src) .pipe(sourcemaps.init()) .pipe(sass().on('error', sass.logError)) @@ -241,6 +242,13 @@ function createScssBuildTask ({ src, dest, devMode, pattern }) { .pipe(autoprefixer()) .pipe(gulp.dest(dest)) } + + function buildScss () { + return gulp.src(src) + .pipe(sass().on('error', sass.logError)) + .pipe(autoprefixer()) + .pipe(gulp.dest(dest)) + } } gulp.task('lint-scss', function () { |