Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@umijs/preset-vue

Package Overview
Dependencies
Maintainers
11
Versions
389
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umijs/preset-vue - npm Package Compare versions

Comparing version 4.0.0-canary.20220720.1 to 4.0.0-canary.20220727.1

dist/features/vueBabelLoaderCustomize.d.ts

7

dist/features/config/assetRules.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc