@umijs/preset-vue
Advanced tools
Comparing version 4.0.0-canary.20220720.1 to 4.0.0-canary.20220727.1
@@ -29,3 +29,2 @@ var __defProp = Object.defineProperty; | ||
const inlineLimit = parseInt(userConfig.inlineLimit || "10000", 10); | ||
const staticPathPrefix = api.config.staticPathPrefix !== void 0 ? api.config.staticPathPrefix : "static/"; | ||
config.module.rule("avif").test(/\.avif$/).type("asset").mimetype("image/avif").parser({ | ||
@@ -35,11 +34,7 @@ dataUrlCondition: { | ||
} | ||
}).generator({ | ||
filename: `${staticPathPrefix}[name].[hash:8].[ext]` | ||
}); | ||
config.module.rule("image").test(/\.(bmp|gif|jpg|jpeg|png)$/).type("asset").parser({ | ||
config.module.rule("image").test(/\.(bmp|gif|jpg|jpeg|png|svg)$/).type("asset").parser({ | ||
dataUrlCondition: { | ||
maxSize: inlineLimit | ||
} | ||
}).generator({ | ||
filename: `${staticPathPrefix}[name].[hash:8].[ext]` | ||
}); | ||
@@ -46,0 +41,0 @@ } |
@@ -79,2 +79,4 @@ var __create = Object.create; | ||
memo.fastRefresh = false; | ||
memo.babelLoaderCustomize = require.resolve("./vueBabelLoaderCustomize"); | ||
memo.svgr = false; | ||
return memo; | ||
@@ -81,0 +83,0 @@ }); |
{ | ||
"name": "@umijs/preset-vue", | ||
"version": "4.0.0-canary.20220720.1", | ||
"version": "4.0.0-canary.20220727.1", | ||
"description": "@umijs/preset-vue", | ||
@@ -20,8 +20,8 @@ "homepage": "https://github.com/umijs/umi/tree/master/packages/preset-vue#readme", | ||
"scripts": { | ||
"build": "pnpm father build", | ||
"build": "umi-scripts father build", | ||
"build:deps": "umi-scripts bundleDeps", | ||
"dev": "pnpm father dev" | ||
"dev": "umi-scripts father dev" | ||
}, | ||
"dependencies": { | ||
"@umijs/renderer-vue": "4.0.0-canary.20220720.1", | ||
"@umijs/renderer-vue": "4.0.0-canary.20220727.1", | ||
"vue": "3.2.36", | ||
@@ -33,3 +33,3 @@ "vue-loader": "17.0.0", | ||
"@vitejs/plugin-vue": "2.3.1", | ||
"umi": "4.0.0-canary.20220720.1" | ||
"umi": "4.0.0-canary.20220727.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
118543
29
627
0
+ Added@babel/runtime@7.18.9(transitive)
+ Added@umijs/renderer-vue@4.0.0-canary.20220727.1(transitive)
+ Addedelectron-to-chromium@1.5.62(transitive)
- Removed@babel/runtime@7.17.9(transitive)
- Removed@umijs/renderer-vue@4.0.0-canary.20220720.1(transitive)
- Removedelectron-to-chromium@1.5.63(transitive)