[refactor] improve build process

This commit is contained in:
zombieFox 2020-08-11 11:01:41 +01:00
parent d4c98b70e7
commit 2e92115bbe
5 changed files with 8 additions and 4 deletions

View File

@ -121,6 +121,9 @@ const build = {
.pipe(htmlmin({
collapseWhitespace: true
}))
.pipe(uglifycss({
"uglyComments": true
}))
.pipe(dest(path.build))
},
fonts: function() {
@ -157,6 +160,7 @@ const build = {
},
initialBackground: function() {
return src(path.src + '/js/initial-background.js')
.pipe(uglify())
.pipe(dest(path.build + '/js'))
}
}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "6.0.0",
"version": "6.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "6.0.0",
"version": "6.1.0",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js",
"scripts": {

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "6.0.0";
var current = "6.1.0";
var name = "Jaded Raven";

View File

@ -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": "6.0.0",
"version": "6.1.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"