mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-03 20:09:47 +01:00
[bug] generate and link complete sourcemap
This commit is contained in:
parent
f3695f3bd2
commit
99df4ec16e
26
gulpfile.js
26
gulpfile.js
@ -97,27 +97,41 @@ const build = {
|
||||
.pipe(dest(path.build + '/css'))
|
||||
},
|
||||
jsDependencies: function() {
|
||||
return src(jsDependencies)
|
||||
return src(jsDependencies, {
|
||||
sourcemaps: true
|
||||
})
|
||||
.pipe(concat(filename.jsDependencies))
|
||||
.pipe(dest(path.build + '/js'))
|
||||
.pipe(dest(path.build + '/js', {
|
||||
sourcemaps: true
|
||||
}))
|
||||
},
|
||||
jsFiles: function() {
|
||||
return src(jsFiles)
|
||||
return src(jsFiles, {
|
||||
sourcemaps: true
|
||||
})
|
||||
.pipe(concat(filename.jsFiles))
|
||||
.pipe(uglify())
|
||||
.pipe(dest(path.build + '/js', {
|
||||
sourcemaps: '.'
|
||||
sourcemaps: true
|
||||
}))
|
||||
},
|
||||
js: function() {
|
||||
return src([path.build + '/js/' + filename.jsDependencies, path.build + '/js/' + filename.jsFiles])
|
||||
return src([
|
||||
path.build + '/js/' + filename.jsDependencies,
|
||||
path.build + '/js/' + filename.jsFiles
|
||||
], {
|
||||
sourcemaps: true
|
||||
})
|
||||
.pipe(concat(filename.js))
|
||||
.pipe(dest(path.build + '/js', {
|
||||
sourcemaps: '.'
|
||||
}))
|
||||
},
|
||||
jsClean: function() {
|
||||
return src([path.build + '/js/' + filename.jsDependencies, path.build + '/js/' + filename.jsFiles])
|
||||
return src([
|
||||
path.build + '/js/' + filename.jsDependencies,
|
||||
path.build + '/js/' + filename.jsFiles
|
||||
])
|
||||
.pipe(clean())
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nighttab",
|
||||
"version": "3.75.0",
|
||||
"version": "3.75.1",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "3.75.0";
|
||||
var current = "3.75.1";
|
||||
|
||||
var compare = function(a, b) {
|
||||
var pa = a.split(".");
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "nightTab",
|
||||
"short_name": "nightTab",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"version": "3.75.0",
|
||||
"version": "3.75.1",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user