extra-entry-webpack-plugin
Allows you to specifiy an entry together with the output name
Last updated 4 years ago by nikgraf .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install extra-entry-webpack-plugin 
SYNC missed versions from official npm registry.

Extra Entry Webpack Plugin

npm version Dependency Status Build status js-semistandard-style

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.

Current Tags

  • 0.0.3                                ...           latest (4 years ago)

3 Versions

  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |