bundle-more-webpack-plugin
v2.0.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
Bundle More Webpack Plugin
Webpack Plugin to bundle extra sources to your app.
ps. Support Webpack >= 5.0.0
Installation
yarn add --dev bundle-more-webpack-plugin
Usage
In your webpack config
const { BundleMoreWebpackPlugin } = require('bundle-more-webpack-plugin')
module.exports = {
...
plugins: [
...,
new BundleMoreWebpackPlugin(
['file-path-to-bundle']
)
]
}
custom entry name
const { BundleMoreWebpackPlugin } = require('bundle-more-webpack-plugin')
module.exports = {
...
plugins: [
...,
new BundleMoreWebpackPlugin(
['file-path-to-bundle']
, 'main' // default 'client'
)
]
}