Socket
Socket
Sign inDemoInstall

yep-analyzer-webpack

Package Overview
Dependencies
64
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yep-analyzer-webpack

monitor and analysis webpack project building assets and dependencies


Version published
Weekly downloads
5
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Yep Analyzer Webpack

一个 Webpack 插件,用于收集并监测项目构建后的产物的体积变化,工程依赖变化,结合 Yep 性能分析平台可视化分析项目构建性能状态。

如何使用

// Vue2.0 项目使用
chainWebpack: config => {
    config.plugin('YepAnalyzerWebpack').use(require('yep-analyzer-webpack'), [{ appid:  yep 平台申请接入项目后获得 }]);
}

// 普通 Webpack 使用
const yepAnalyzer = require('yep-analyzer-webpack');
plugins: [
    new yepAnalyzer({
        appid: yep 平台申请接入项目后获得
    })
],

注意

  1. 暂不支持 Webpack MultiCompiler 模式
  2. Vue3.0 可以使用 vite 插件(todo)

Keywords

FAQs

Last updated on 31 May 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc