New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-app-rewire-multiple-entry

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-app-rewire-multiple-entry - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

5

lib/supportMultipleEntry.js

@@ -28,4 +28,5 @@ "use strict";

})[0];
defaultEntryHTMLPlugin.options.chunks = [defaultEntryName];
var necessaryEntry = config.entry.filter(function (file) {
defaultEntryHTMLPlugin.options.chunks = [defaultEntryName]; // If there is only one entry file then it should not be necessary for the rest of the entries
var necessaryEntry = config.entry.length === 1 ? [] : config.entry.filter(function (file) {
return !appIndexes.includes(file);

@@ -32,0 +33,0 @@ });

2

package.json
{
"name": "react-app-rewire-multiple-entry",
"version": "2.1.0",
"version": "2.2.0",
"description": "Multiple Entry Support for Create-React-App",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -21,3 +21,4 @@ import path from 'path';

defaultEntryHTMLPlugin.options.chunks = [defaultEntryName];
const necessaryEntry = config.entry.filter(function(file:string) {
// If there is only one entry file then it should not be necessary for the rest of the entries
const necessaryEntry = config.entry.length === 1 ? [] : config.entry.filter(function(file:string) {
return !appIndexes.includes(file);

@@ -24,0 +25,0 @@ });

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