Browse Source

Updates dependencies

Updates image-minimizer
Removes unused imagemin* dependencies
main
Eric Amodio 2 years ago
parent
commit
7870026198
3 changed files with 412 additions and 1099 deletions
  1. +8
    -10
      package.json
  2. +4
    -4
      webpack.config.images.js
  3. +400
    -1085
      yarn.lock

+ 8
- 10
package.json View File

@ -11315,8 +11315,8 @@
"@types/sortablejs": "1.13.0",
"@types/uuid": "8.3.4",
"@types/vscode": "1.69.0",
"@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.32.0",
"@typescript-eslint/eslint-plugin": "5.33.0",
"@typescript-eslint/parser": "5.33.0",
"@vscode/test-electron": "2.1.5",
"@vscode/test-web": "0.0.29",
"circular-dependency-plugin": "5.2.2",
@ -11325,12 +11325,12 @@
"copy-webpack-plugin": "11.0.0",
"csp-html-webpack-plugin": "5.1.0",
"css-loader": "6.7.1",
"esbuild": "0.14.53",
"esbuild": "0.15.3",
"esbuild-loader": "2.19.0",
"eslint": "8.21.0",
"eslint": "8.22.0",
"eslint-cli": "1.1.1",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "3.4.0",
"eslint-import-resolver-typescript": "3.4.1",
"eslint-plugin-anti-trojan-source": "1.1.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-lit": "1.6.1",
@ -11338,17 +11338,15 @@
"glob": "8.0.3",
"html-loader": "4.1.0",
"html-webpack-plugin": "5.5.0",
"image-minimizer-webpack-plugin": "3.2.1",
"imagemin": "8.0.1",
"imagemin-webp": "7.0.0",
"image-minimizer-webpack-plugin": "3.3.0",
"json5": "2.2.1",
"license-checker-rseidelsohn": "3.1.0",
"mini-css-extract-plugin": "2.6.1",
"mocha": "10.0.0",
"prettier": "2.7.1",
"sass": "1.54.2",
"sass": "1.54.4",
"sass-loader": "13.0.2",
"terser-webpack-plugin": "5.3.3",
"terser-webpack-plugin": "5.3.4",
"ts-loader": "9.3.1",
"tsc-alias": "1.7.0",
"typescript": "4.7.4",

+ 4
- 4
webpack.config.images.js View File

@ -16,8 +16,8 @@ module.exports =
const basePath = path.join(__dirname, 'src', 'webviews', 'apps');
env = {
useOptimization: false,
squoosh: false,
useOptimization: true,
squoosh: true,
...env,
};
@ -59,8 +59,8 @@ module.exports =
new CopyPlugin({
patterns: [
{
from: path.posix.join(basePath.replace(/\\/g, '/'), 'images', 'settings', '*.png'),
to: __dirname.replace(/\\/g, '/'),
from: path.posix.join(basePath.replace(/\\/g, '/'), 'media', '*.png'),
to: path.posix.join(__dirname.replace(/\\/g, '/'), 'dist', 'webviews'),
},
],
}),

+ 400
- 1085
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save