2.1.0 • Published 2 years ago

define-after-bundle-webpack-plugin v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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>',
        })
    ]
}
2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago