Skip to content

Releases: kriasoft/bundle-webpack-plugin

v0.2.1

17 Feb 10:29

Choose a tag to compare

Use types declared via JSDoc instead of types.d.ts. Remove @types/webpack dependency.

v0.2.0

16 Feb 19:35

Choose a tag to compare

Ensure that all the provided configuration options are being applied to the child compiler.

v0.1.0

10 Feb 19:10

Choose a tag to compare

This plugin emits an additional application bundle for the selected runtime environment (Webpack target).

Usage Example

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",
    }),
  ],
};