Explorar el Código

Moves .cache-images into node_modules/.cache

main
Eric Amodio hace 5 años
padre
commit
5d1a2e611e
Se han modificado 4 ficheros con 2 adiciones y 6 borrados
  1. +0
    -2
      .gitignore
  2. +0
    -2
      .vscodeignore
  3. +1
    -1
      package.json
  4. +1
    -1
      webpack.config.js

+ 0
- 2
.gitignore Ver fichero

@ -1,5 +1,3 @@
.cache-images
.cache-loader
dist
node_modules
images/settings

+ 0
- 2
.vscodeignore Ver fichero

@ -1,5 +1,3 @@
.cache-images/**
.cache-loader/**
.github/**
.vscode/**
dist/webviews/main.js

+ 1
- 1
package.json Ver fichero

@ -5083,7 +5083,7 @@
"analyze:deps": "webpack --env.analyzeDeps",
"build": "webpack --env.development",
"bundle": "webpack --env.production",
"clean": "git clean -Xdf -e !.cache-images -e !node_modules -e !node_modules/**/*",
"clean": "git clean -Xdf -e !node_modules -e !node_modules/**/*",
"lint": "eslint src/**/*.ts --fix",
"pack": "vsce package",
"pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\" && npm run lint",

+ 1
- 1
webpack.config.js Ver fichero

@ -183,7 +183,7 @@ function getWebviewsConfig(env) {
sources: glob.sync('src/webviews/apps/images/settings/*.png'),
destination: path.resolve(__dirname, 'images')
},
cacheFolder: path.resolve(__dirname, '.cache-images'),
cacheFolder: path.resolve(__dirname, 'node_modules', '.cache', 'imagemin-webpack-plugin'),
gifsicle: null,
jpegtran: null,
optipng: null,

Cargando…
Cancelar
Guardar