define-after-bundle-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Define After Bundle Webpack Plugin

semantic-release JavaScript Style Guide ts code style: prettier License: MIT

Webpack Plugin with the same concept as DefinePlugin, but apply after bundle.

Installation

yarn add --dev define-after-bundle-webpack-plugin

Usage

In your webpack config

const { DefineAfterBundleWebpackPlugin } = require('define-after-bundle-webpack-plugin')

module.exports = {
    ...
    plugins: [
        ...,
        new DefineAfterBundleWebpackPlugin({
            '<Value to be replaced>': '<Value to replace>',
        })
    ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i define-after-bundle-webpack-plugin

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

125 kB

Total Files

16

Last publish

Collaborators

  • reiiyuki