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

webpack-manifest-resource-plugin

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-manifest-resource-plugin - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

5

History.md
4.2.2 / 2018-03-29
==================
* fix: manifest deps key missing .js
4.0.0 / 2018-03-07

@@ -3,0 +8,0 @@ ==================

20

lib/plugin.js

@@ -88,13 +88,13 @@ var path = require('path');

});
commonsChunk.forEach(dll => {
if (typeof dll === 'object') {
if (!isCommonsChunk && this.isMatch(dll.include, pageName, true) && !this.isMatch(dll.exclude, pageName, false)) {
const jsKey = `${dll.name}.js`;
const cssKey = `${dll.name}.css`;
manifest[jsKey] && dllScript.push(manifest[jsKey]);
manifest[cssKey] && dllCss.push(manifest[cssKey]);
}
}
});
if(!isCommonsChunk) {
commonsChunk.forEach(dll => {
if (typeof dll === 'object') {
if (this.isMatch(dll.include, pageName, true) && !this.isMatch(dll.exclude, pageName, false)) {
const jsKey = `${dll.name}.js`;
const cssKey = `${dll.name}.css`;
manifest[jsKey] && dllScript.push(manifest[jsKey]);
manifest[cssKey] && dllCss.push(manifest[cssKey]);
}
}
});
const js = dllScript.concat(commonChunkScript).concat(manifest[`${pageName}.js`] || []);

@@ -101,0 +101,0 @@ const css = dllCss.concat(commonChunkCss).concat(manifest[`${pageName}.css`] || []);

{
"name": "webpack-manifest-resource-plugin",
"version": "4.2.2",
"version": "4.2.3",
"description": "webpack manifest resource dependencies plugin",

@@ -5,0 +5,0 @@ "keywords": [

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