Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scandipwa/chunk-optimizer

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scandipwa/chunk-optimizer

Webpack chunk optimizer extension used by CSA.

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
589
decreased by-19.97%
Maintainers
4
Weekly downloads
 
Created
Source

@scandipwa/chunk-optimizer

This package includes Webpack chunk optimizer extension used by Create Scandipwa App.

Package is currently under development. Docs too. Try at your own risk!

Chunks

Currently, all style elements are distributed between following chunks:

  • main
  • vendor
  • product
  • category
  • cart
  • checkout
  • wishlist
  • account
  • misc

Expanding

To move file to specific chunk use one of three options:

  1. Name tagging:
    1. By using one of following name formats you can disable SplitChunksPlugin configuration:
      1. [name].manual.style.[scss/css]
      2. [name.manual.extended.style.[scss/css]
  2. Dynamic import:
    1. import(/* webpackChunkName: "[chunk-name]" */ '[path]');
  3. Changing configuration.

FAQs

Package last updated on 09 Apr 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc