@selenic/webpack-plugin
v0.9.0
Published
webpack plugin for selenic
Downloads
18
Readme
@selenic/webpack-plugin
@selenic/webpack-plugin
is add license header to your bundle as follows.
/**
* @license
*
* @selenic/webpack-plugin:
* version: 0.9.0
* license: MIT
* author: mkwtys <[email protected]>
*
* @selenic/core:
* version: 0.11.0
* license: MIT
* author: mkwtys <[email protected]>
* homepage: https://github.com/mkwtys/selenic
*
* base64-js:
* version: 1.3.1
* license: MIT
* author: T. Jameson Little <[email protected]>
* homepage: https://github.com/beatgammit/base64-js
*
* buffer:
* version: 4.9.2
* license: MIT
* author: Feross Aboukhadijeh <[email protected]>
* contributors: Romain Beauxis <[email protected]>, James Halliday <[email protected]>
* homepage: https://github.com/feross/buffer
*
* find-up:
* version: 3.0.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/find-up
*
* ieee754:
* version: 1.1.13
* license: BSD-3-Clause
* author: Feross Aboukhadijeh <[email protected]>
* contributors: Romain Beauxis <[email protected]>
* homepage: https://github.com/feross/ieee754
*
* isarray:
* version: 1.0.0
* license: MIT
* author: Julian Gruber <[email protected]>
* homepage: https://github.com/juliangruber/isarray
*
* locate-path:
* version: 3.0.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/locate-path
*
* p-limit:
* version: 2.2.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/p-limit
*
* p-locate:
* version: 3.0.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/p-locate
*
* p-try:
* version: 2.2.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/p-try
*
* path-browserify:
* version: 0.0.1
* license: MIT
* author: James Halliday <[email protected]>
* homepage: https://github.com/substack/path-browserify
*
* path-exists:
* version: 3.0.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/path-exists
*
* pkg-up:
* version: 3.1.0
* license: MIT
* author: Sindre Sorhus <[email protected]>
* homepage: https://github.com/sindresorhus/pkg-up
*
* process:
* version: 0.11.10
* license: MIT
* author: Roman Shtylman <[email protected]>
* homepage: https://github.com/shtylman/node-process
*
* punycode:
* version: 1.4.1
* license: MIT
* author: Mathias Bynens
* contributors: Mathias Bynens, John-David Dalton
* homepage: https://mths.be/punycode
*
* querystring-es3:
* version: 0.2.1
* license: MIT
* author: Irakli Gozalishvili <[email protected]>
* homepage: https://github.com/mike-spainhower/querystring
*
* semver:
* version: 7.3.2
* license: ISC
* homepage: https://github.com/npm/node-semver
*
* source-list-map:
* version: 2.0.1
* license: MIT
* author: Tobias Koppers @sokra
* homepage: https://github.com/webpack/source-list-map
*
* source-map:
* version: 0.6.1
* license: BSD-3-Clause
* author: Nick Fitzgerald <[email protected]>
* contributors: Tobias Koppers <[email protected]>, Duncan Beevers <[email protected]>, Stephen Crane <[email protected]>, Ryan Seddon <[email protected]>, Miles Elam <[email protected]>, Mihai Bazon <[email protected]>, Michael Ficarra <[email protected]>, Todd Wolfson <[email protected]>, Alexander Solovyov <[email protected]>, Felix Gnass <[email protected]>, Conrad Irwin <[email protected]>, usrbincc <[email protected]>, David Glasser <[email protected]>, Chase Douglas <[email protected]>, Evan Wallace <[email protected]>, Heather Arthur <[email protected]>, Hugh Kennedy <[email protected]>, David Glasser <[email protected]>, Simon Lydell <[email protected]>, Jmeas Smith <[email protected]>, Michael Z Goddard <[email protected]>, azu <[email protected]>, John Gozde <[email protected]>, Adam Kirkton <[email protected]>, Chris Montgomery <[email protected]>, J. Ryan Stinnett <[email protected]>, Jack Herrington <[email protected]>, Chris Truter <[email protected]>, Daniel Espeset <[email protected]>, Jamie Wong <[email protected]>, Eddy Bruël <[email protected]>, Hawken Rives <[email protected]>, Gilad Peleg <[email protected]>, djchie <[email protected]>, Gary Ye <[email protected]>, Nicolas Lalevée <[email protected]>
* homepage: https://github.com/mozilla/source-map
*
* url:
* version: 0.11.0
* license: MIT
* homepage: https://github.com/defunctzombie/node-url
*
* webpack:
* version: 4.43.0
* license: MIT
* author: Tobias Koppers @sokra
* homepage: https://github.com/webpack/webpack
*
* webpack-sources:
* version: 1.4.3
* license: MIT
* author: Tobias Koppers @sokra
* homepage: https://github.com/webpack/webpack-sources
*
*/
...
Install
npm install --save-dev @selenic/webpack-plugin
Usage
To use @selenic/webpack-plugin
, you need to set the optimize.minimize
option to false
. If you want to minify, use the minify plugin.
webpack.config.js:
import { SelenicWebpackPlugin } from '@selenic/webpack-plugin'
import TerserWebpackPlugin from 'terser-webpack-plugin'
...
plugins: [
new TerserWebpackPlugin(options),
new SelenicWebpackPlugin()
],
optimization: {
minimize: false
}
...
License
MIT © mkwtys