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

bundle-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundle-webpack-plugin

Creates an additional application bundle for the selected execution environment (target).

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Bundle Webpack Plugin · npm package npm package Discord

This Webpack plugin creates an additional application bundle for the selected execution environment (Webpack target). This is often used for scenarios such as server-side rendering / pre-rendering (SSR).

Usage Example

webpack.config.js
const { BundleWebpackPlugin } = require("bundle-webpack-plugin");

module.exports = {
  // The core application bundle for browsers.
  name: "app",
  entry: "./src/index",
  target: "browserslist:defaults",

  plugins: [
    new BundleWebpackPlugin({
      // Additional (reverse proxy) bundle for Cloudflare Workers.
      name: "proxy",
      entry: "./src/proxy",
      target: "browserslist:last 2 Chrome versions",
    }),
  ],
};
  • Node.js API Starter - Monorepo project template based on Yarn v2, GraphQL.js, React, and Relay.

Copyright © 2021-present Kriasoft. This source code is licensed under the MIT license found in the LICENSE file.


Made with ♥  by Konstantin Tarkus (@koistya, blog) and contributors.

Keywords

FAQs

Package last updated on 10 Feb 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