Skip to content

Commit

Permalink
updated the versions of the packages, removed the package for images,…
Browse files Browse the repository at this point in the history
… corrected the name of the store in index.js
  • Loading branch information
OlegKrechkovskiy committed May 29, 2024
1 parent 4916aae commit 812b46d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
10 changes: 1 addition & 9 deletions insales-config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
var extend = require('deepmix')
var fs = require('fs')
// var imagemin = require('gulp-imagemin')
async function imagemin() {
const { default: imagemin } = await import('./node_modules/gulp-imagemin');
}

var autoprefixer = require('insales-uploader-autoprefixer')
var jsValidate = require('gulp-jsvalidate');

Expand Down Expand Up @@ -58,11 +55,6 @@ var defaultConfig = {
script: function (stream) {
return stream
.pipe(jsValidate())
},
// gulp плагины для изображений
img: function (stream) {
return stream
.pipe(imagemin())
}
},
util: {
Expand Down
2 changes: 1 addition & 1 deletion insales/shop_main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
account: {
id: '11076a4aa6750ce272e5e1ca006c5b8a78',
token: '1fe92c0ee1ba981ee35dd1ec87e1f1f31',
url: 'shop-48497.myinsales.ru'
url: 'myshop-123bbb.myinsales.ru'
},
theme:{
id: '854716'
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
"main": "insales-config.js",
"dependencies": {
"deepmix": "^1.0.0",
"gulp-imagemin": "^8.0.0",
"gulp-jsvalidate": "^5.0.0",
"insales-uploader": "^1.13.2",
"insales-uploader": "^1.13.5",
"insales-uploader-autoprefixer": "^1.0.1"
},
"browserslist": [
Expand Down

0 comments on commit 812b46d

Please sign in to comment.