Soya Next
  • Introduction
  • Packages
    • soya-next
    • soya-next-cli
    • soya-next-scripts
    • soya-next-server
  • Getting Started
    • Setup
    • Directory Structure
    • Creating an App
    • Build the App for Production
  • User Guide
    • Analyzing Dependencies
    • Configure Redux Store
    • Custom Babel Configuration
    • Custom Document
    • Custom Marlint Configuration
    • Custom Routing
    • Typescript Configuration
    • Universal Environment Configuration
  • Migration Guide
    • 0.4.x to 0.5.x
  • API Reference
    • applyReducers([reducers])
    • createPage([...connectArgs])(Page, [reducers])
    • createRouter(app, [options])
    • withLocale
    • LocaleLink
  • Examples
    • Apollo
    • Authentication
    • CSS Modules
    • CSS Modules with SCSS
    • Custom Routes
    • Internationalization
    • Internationalization with Redux
    • Redirection
    • TodoMVC
  • License
Powered by GitBook
On this page
  1. User Guide

Analyzing Dependencies

PreviousUser GuideNextConfigure Redux Store

Last updated 7 years ago

Soya Next uses to analyze which modules are bundled into and bloated your app.

To perform bundle analysis, run the following:

BUNDLE_ANALYZE=both soya-next-scripts build
BUNDLE_ANALYZE=browser soya-next-scripts build
BUNDLE_ANALYZE=server soya-next-scripts build
webpack-bundle-analyzer