About the Project
J.A.R.V.I.S. (Just A Rather Very Intelligent System) will put in your browser all the relevant information you need from your webpack build whether in dev or in prod.
Tons of features are on the roadmap but still, this beta version will improve the way you look at webpack-dev-server or webpack production build bundle, chunks and other output assets.
It is hugely inspired by other webpack dashboards and the core idea is not original, but here are some features:
- Shows you the count of ES Harmony module imports which can be treeshakable and the CJS ones which are not.
- Shows you how well your assets perform in 12 different connection types.
- Google or Stackoverflow Search for programming errors in 1 button click.
- Runs in the browser.
- Beautified errors output.
- Easy way figure out total assets size and individual bundles and chunks.
- It's very beautiful.
- Preact with Sass pre-processor.
- Socket IO.
- Polka Server.
$ npm i -D webpack-jarvis
In your webpack config file:
const Jarvis = ;/* the rest of your webpack configs */plugins:port: 1337 // optional: set a port;
In your browser open:
and you are all set!
Options are (optionally) passed in to the constructor
The Jarvis dashboard will open on a localhost server at this port.
The Jarvis dashboard will attach to this host, e.g.
If set to false, then Jarvis will also run for non-watch builds, and keep running after the build completes.
Jarvis will look inside this directory for your package.json.
Help & Contribute
Setting up the dev environment
$ npm install
Run Jarvis in your browser, Jarvis root:
$ npm run watch
Finally, open a browser to
On the roadmap:
- Cleanup the hacky code in the client app, it's embarassing, I'm sorry!
- Enforce best practices, structure and higher code quality standards.
- Bundle size analyzer like feature in the table.
- Build snippets page.
- Build Oppurtunities Section to suggest loaders, plugins, etc. that can improve your build and bundle.
I am not entirely sure how many bugs you will catch while it's in beta, but what I know for sure is the whole app, especially the client Preact app can be dramatically improved, JS & CSS and structure wise as the whole thing has been built in a rush in a very hacky way.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!