mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-29 01:30:16 +02:00
netlify: build with minification
This commit is contained in:
@@ -226,7 +226,7 @@ gulp.task('release', function(callback) {
|
|||||||
'concatSwRegistration',
|
'concatSwRegistration',
|
||||||
'minify',
|
'minify',
|
||||||
'generate-service-worker',
|
'generate-service-worker',
|
||||||
'packageExtension',
|
// 'packageExtension',
|
||||||
'buildDistFolder',
|
'buildDistFolder',
|
||||||
'cleanup',
|
'cleanup',
|
||||||
function(error) {
|
function(error) {
|
||||||
|
@@ -7,7 +7,7 @@ ID = "webmaker"
|
|||||||
# unless otherwise overridden by more specific contexts.
|
# unless otherwise overridden by more specific contexts.
|
||||||
[build]
|
[build]
|
||||||
# Default build command.
|
# Default build command.
|
||||||
command = "gulp dev-release"
|
command = "gulp release"
|
||||||
|
|
||||||
# Directory to change to before starting a build.
|
# Directory to change to before starting a build.
|
||||||
# This is where we will look for package.json/.nvmrc/etc.
|
# This is where we will look for package.json/.nvmrc/etc.
|
||||||
|
Reference in New Issue
Block a user