optimize gulp image uploads
This commit is contained in:
parent
23a0dd6870
commit
93ac03acd4
3 changed files with 283 additions and 263 deletions
|
|
@ -151,6 +151,7 @@ const upload = () => src(uploadSources, { base: './dist', encoding: false })
|
|||
const imageSources = [
|
||||
'server/fonts/**',
|
||||
'server/images/**',
|
||||
'!server/images/gimp/**',
|
||||
];
|
||||
const uploadImages = () => src(imageSources, { base: './server', encoding: false })
|
||||
.pipe(
|
||||
|
|
|
|||
537
package-lock.json
generated
537
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -42,12 +42,12 @@
|
|||
"suncalc": "^1.8.0",
|
||||
"swiped-events": "^1.1.4",
|
||||
"terser-webpack-plugin": "^5.3.6",
|
||||
"webpack-stream": "^7.0.0"
|
||||
"webpack-stream": "^7.0.0",
|
||||
"gulp-html-minifier-terser": "^7.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^16.5.0",
|
||||
"ejs": "^3.1.5",
|
||||
"express": "^5.1.0",
|
||||
"gulp-html-minifier-terser": "^7.1.0"
|
||||
"express": "^5.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue