define-after-bundle-webpack-plugin
v2.1.0
Published
[![semantic-release](https://img.shields.io/badge/semantic-release-e10079.svg?logo=semantic-release)](https://github.com/semantic-release/semantic-release) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https
Downloads
3
Readme
Define After Bundle Webpack Plugin
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>',
})
]
}