Socket
Socket
Sign inDemoInstall

webpack-multi-entries-css-combination-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-multi-entries-css-combination-plugin

combine css for multi entries


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

使用说明

针对多个output场景,将splitChunk产生的css合并到每个output的css文件中,保证每个output都只输出一个css文件。支持引入不同构建流程的资源,如通过DllPlugin生成的资源

使用文档

const config = {
  // output列表,一级路径,带css后缀,例如['ide.css']
  entries: Array<string>,
  // 需要合并的资源列表,一级路径,带css后缀,例如['vendor.css', 'common.css', {type: 'external', path: 其他构建产物的完整路径}]
  outputPrefix: Array<string | { type: 'external' | 'internal', path: string}>,
}

Keywords

FAQs

Package last updated on 13 Jan 2021

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