extra-entry-webpack-plugin
v0.0.3
Published
Allows you to specifiy an entry together with the output name
Downloads
9
Readme
Extra Entry Webpack Plugin
Installation
You must be running webpack on node 0.12.x or higher
Install the plugin with npm:
$ npm install --save-dev extra-entry-webpack-plugin
Basic Usage
Add the plugin to your webpack config as follows:
plugins: [
new ExtraEntryWebpackPlugin({
entry: 'entry-file.js',
outputName: 'output.js'
})
]
This basic configuration will compile entry-file.js to output.js independently from the general output file names.
Advanced Usage
You can also specify the context and entry name:
plugins: [
new ExtraEntryWebpackPlugin({
entry: 'entry-file.js',
entryName: 'An additional entry',
context: __dirname,
outputName: 'output.js'
})
]
Changelog
Take a look at the CHANGELOG.md.
Contribution
You're free to contribute to this project by submitting issues and/or pull requests. This project is test-driven, so keep in mind that every change and new feature should be covered by tests. This project uses the semistandard code style.
License
This project is licensed under MIT.