Browse Source

Moves .cache-images into node_modules/.cache

main
Eric Amodio 5 years ago
parent
commit
5d1a2e611e
4 changed files with 2 additions and 6 deletions
  1. +0
    -2
      .gitignore
  2. +0
    -2
      .vscodeignore
  3. +1
    -1
      package.json
  4. +1
    -1
      webpack.config.js

+ 0
- 2
.gitignore View File

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

+ 0
- 2
.vscodeignore View File

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

+ 1
- 1
package.json View File

@ -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 View File

@ -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,

Loading…
Cancel
Save