Skip to content

Webpack plugin for Symfony Encore that shows entrypoints.json file content in an interactive map

License

Notifications You must be signed in to change notification settings

lomby92/encore-entrypoints-analyzer

Repository files navigation

Version License Total downloads Continuous Integration Publish to NPM

Encore entrypoints analyzer

Webpack plugin for Symfony Encore that shows entrypoints.json file content in an interactive map

Install

NOTE: this tool is intended to work only with Symfony Encore.

# NPM
npm install --save-dev encore-entrypoints-analyzer
# Yarn
yarn add -D encore-entrypoints-analyzer

Usage

// File: webpack.config.js
const config = Encore.getWebpackConfig();
...
const EncoreEntrypointsAnalyzerPlugin = require('encore-entrypoints-analyzer');
config.plugins.push(new EncoreEntrypointsAnalyzerPlugin());

It will create an interactive view of the entrypoints and chunks in your build. Preview

Contributing

Check out CONTRIBUTING.md for instructions on contributing 🎉

About

Webpack plugin for Symfony Encore that shows entrypoints.json file content in an interactive map

Topics

Resources

License

Stars

Watchers

Forks