浏览代码

Moves .cache-images into node_modules/.cache

main
Eric Amodio 5 年前
父节点
当前提交
5d1a2e611e
共有 4 个文件被更改,包括 2 次插入6 次删除
  1. +0
    -2
      .gitignore
  2. +0
    -2
      .vscodeignore
  3. +1
    -1
      package.json
  4. +1
    -1
      webpack.config.js

+ 0
- 2
.gitignore 查看文件

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

+ 0
- 2
.vscodeignore 查看文件

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

+ 1
- 1
package.json 查看文件

@ -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 查看文件

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

正在加载...
取消
保存