electron-webpack-dashboard

Electron Desktop GUI for Webpack Dashboard

Github星跟踪图

Maintenance Status


http://i.imgur.com/9TObNrN.png

Whats this all about?

The original webpack-dashboard, was fun and people seemed to like it. Unless they were on Windows, or used a weird terminal set up, or if they just wanted more.

Making things work across a variety of different terminal environments is pretty rough. Also, a web GUI provides some unique UI possibilities that weren't there with the term display.

So here we are.

The original dashboard felt like working at NASA. 50 years ago. I hope this dashboard feels like working at NASA today. Or at Westworld. Or like the beginning of Westworld at least.

Getting Started

Install

Download the version for your OS here:

https://github.com/FormidableLabs/electron-webpack-dashboard/releases/latest

If you are on macOS you can also install the app via Homebrew Cask:

$ brew update
$ brew cask install webpack-dashboard

Webpack 3 compatibility

To receive a complete analysis of your bundle, including modules, assets, and problems, you will need to make sure your project is using Webpack Dashboard Plugin 1.0 or higher.

Configuring Your Project

First, in your project, install the webpack-dashboard plugin:

npm install webpack-dashboard --save-dev

Next, in any Webpack config you want telemetry on, import the plugin:

const DashboardPlugin = require('webpack-dashboard/plugin');

Then add the plugin to your config's plugins array, like so:

plugins: [
  // ... your other plugins
    new DashboardPlugin()
  ],

Usage

Simply hit save on a project running webpack-dev-server, or run your build task that builds with webpack and providing you have configured your project as shown above, you should see the dashboard start to display data.

Credits

The visualizations view was essentially recreated using code from https://github.com/chrisbateman/webpack-visualizer, and I am forever grateful that I didn't have to figure this stuff out on my own.

Maintenance Status

Archived: This project is no longer maintained by Formidable. We are no longer responding to issues or pull requests unless they relate to security concerns. We encourage interested developers to fork this project and make it their own!

主要指标

概览
名称与所有者FormidableLabs/electron-webpack-dashboard
主编程语言JavaScript
编程语言CSS (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2017-08-16 16:12:36
推送于2022-02-10 17:23:55
最后一次提交2019-04-14 16:59:09
发布数7
最新版本名称v1.0.0 (发布于 )
第一版名称0.0.1-beta.1 (发布于 )
用户参与
星数2.7k
关注者数84
派生数79
提交数52
已启用问题?
问题数42
打开的问题数14
拉请求数18
打开的拉请求数23
关闭的拉请求数12
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?