Skip to content

Commit 4d57ca2

Browse files
committed
Stripping source maps
1 parent c8aaee2 commit 4d57ca2

11 files changed

+7
-582
lines changed

dist/css/selectize.bootstrap2.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.bootstrap3.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.bootstrap4.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.bootstrap5.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.default.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.legacy.css

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/selectize.min.js

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const path = require('path');
99
const rename = require('gulp-rename');
1010
const replace = require('gulp-replace');
1111
const sass = gulpSass(dartSass);
12-
const sourcemaps = require('gulp-sourcemaps');
1312
const uglify = require('gulp-uglify');
1413
const uglifycss = require('gulp-uglifycss');
1514
const wrapper = require('@risadams/gulp-wrapper');
@@ -138,9 +137,7 @@ const __wrapScripts = lazypipe()
138137
;
139138

140139
const __wrapStyles = lazypipe()
141-
.pipe(sourcemaps.init)
142140
.pipe(uglifycss)
143-
.pipe(sourcemaps.write)
144141
.pipe(wrapper, { header: license_header })
145142
.pipe(replace, /@@YEAR/g, getYear())
146143
.pipe(replace, /@@version/g, getVersion())
@@ -224,9 +221,7 @@ const _compileJavascript = async (scripts) =>
224221
const _minifyScripts = async (scripts) =>
225222
src(scripts)
226223
.pipe(concat('selectize.min.js'))
227-
.pipe(sourcemaps.init())
228224
.pipe(uglify())
229-
.pipe(sourcemaps.write())
230225
.pipe(__wrapScripts())
231226
.pipe(dest('dist/js'));
232227

0 commit comments

Comments
 (0)