Socket
Book a DemoInstallSign in
Socket

cra-bundle-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cra-bundle-analyzer

Use Webpack Bundle Analyzer on a create-react-app application without ejecting

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
3.8K
-1.21%
Maintainers
1
Weekly downloads
 
Created
Source

npm node downloads

This package allows to use webpack-bundle-analyzer with create-react-app, without having to eject the react application.

It's an alternative to the official source-map-explorer.

Installation

# NPM
npm install --save-dev cra-bundle-analyzer
# Yarn
yarn add -D cra-bundle-analyzer

Usage

npx cra-bundle-analyzer

This command will generate the webpack-bundle-analyzer report in build/report.html

Options

  -r, --reportFilename <file>         Path to bundle report file that will be generated in `static` mode. (default: report.html)

References

Keywords

react

FAQs

Package last updated on 03 Jan 2022

Did you know?

Socket

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