
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
dpape-import-loader
Advanced tools
webpack import loader. UI libraries are introduced on demand
组件库按需引入工具,支持多家UI组件库配置
npm i dpape-import-loader -D
...
{
test: /\.(jsx|tsx|js|ts)$/,
exclude: /node_modules/,
loader: "dpape-import-loader",
options:{
/**
* 组件库 String | Array<String>
**/
libraryNames:'vue-dpape',
/**
* 参数配置
**/
libraryParams:{
'vue-dpape':{
/**
* 组件放置文件夹名称
*/
componentDirectory:"lib",
/**
* 样式放置文件夹名称
*/
styleDirectory:"lib/theme"
/**
* 是否使用style.js引入,默认false可以不写
*/
styleJs:false
}
}
}
}
...
import { Button } from 'vue-dpape';
/** ===> */
import Button from 'vue-dpape/lib/button';
import 'vue-dpape/lib/theme/button.css';
/** ===> styleJs:true */
import Button from 'vue-dpape/lib/button';
import 'vue-dpape/lib/theme/button/style.js';
FAQs
webpack import loader. UI libraries are introduced on demand
We found that dpape-import-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.