mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-04 04:20:19 +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'))
|
.pipe(dest(path.build + '/css'))
|
||||||
},
|
},
|
||||||
jsDependencies: function() {
|
jsDependencies: function() {
|
||||||
return src(jsDependencies)
|
return src(jsDependencies, {
|
||||||
|
sourcemaps: true
|
||||||
|
})
|
||||||
.pipe(concat(filename.jsDependencies))
|
.pipe(concat(filename.jsDependencies))
|
||||||
.pipe(dest(path.build + '/js'))
|
.pipe(dest(path.build + '/js', {
|
||||||
|
sourcemaps: true
|
||||||
|
}))
|
||||||
},
|
},
|
||||||
jsFiles: function() {
|
jsFiles: function() {
|
||||||
return src(jsFiles)
|
return src(jsFiles, {
|
||||||
|
sourcemaps: true
|
||||||
|
})
|
||||||
.pipe(concat(filename.jsFiles))
|
.pipe(concat(filename.jsFiles))
|
||||||
.pipe(uglify())
|
.pipe(uglify())
|
||||||
.pipe(dest(path.build + '/js', {
|
.pipe(dest(path.build + '/js', {
|
||||||
sourcemaps: '.'
|
sourcemaps: true
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
js: function() {
|
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(concat(filename.js))
|
||||||
.pipe(dest(path.build + '/js', {
|
.pipe(dest(path.build + '/js', {
|
||||||
sourcemaps: '.'
|
sourcemaps: '.'
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
jsClean: function() {
|
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())
|
.pipe(clean())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nighttab",
|
"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.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
var current = "3.75.0";
|
var current = "3.75.1";
|
||||||
|
|
||||||
var compare = function(a, b) {
|
var compare = function(a, b) {
|
||||||
var pa = a.split(".");
|
var pa = a.split(".");
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"short_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.",
|
"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,
|
"manifest_version": 2,
|
||||||
"chrome_url_overrides": {
|
"chrome_url_overrides": {
|
||||||
"newtab": "index.html"
|
"newtab": "index.html"
|
||||||
|
Loading…
Reference in New Issue
Block a user