開発に便利なプラグイン (plugins)
DefinePlugin
参考:
DefinePlugin | Webpack [Official]
Setting a config value in webpack config and access it from react component – Stack Overflow
EnvironmentPlugin
参考:
EnvironmentPlugin | Webpack [Official]
webpack の EnvironmentPlugin で十分だった – Qiita
dotenv-webpack
参考:
BannerPlugin
参考:
BannerPlugin | Webpack [Official]
How can I install the BannerPlugin Webpack plugin using npm? – Stack Overflow
html-webpack-banner-plugin
参考:
html-webpack-banner-plugin – npm
Cap32/html-webpack-banner-plugin: Adds a banner to the top of generated html – GitHub
git-revision-webpack-plugin
参考:
git-revision-webpack-plugin – npm
case-sensitive-paths-webpack-plugin
参考:
webpack: fine on MacOS, loader errors on linux – Stack Overflow
case-sensitive-paths-webpack-plugin – npm
friendly-errors-webpack-plugin
参考:
friendly-errors-webpack-plugin – npm
stats-webpack-plugin
参考:
unindented/stats-webpack-plugin: Write the stats of a build to a file – GitHub
copy-webpack-plugin
参考:
CopyWebpackPlugin | Webpack [Official]
webpack-contrib/copy-webpack-plugin: Copy files and directories with webpack – GitHub
clean-webpack-plugin
参考:
CleanWebpackPlugin not letting me rebuild – Stack Overflow
no-emit-webpack-plugin
参考:
on-build-webpack
参考:
kossnocorp/on-build-webpack: Webpack plugin that gives ability to add callback after build – GitHub
webpack-shell-plugin
参考:
WebPack execute function before build starts – Stack Overflow
event-hooks-webpack-plugin
参考:
cascornelissen/event-hooks-webpack-plugin: Event hooks plugin for Webpack – GitHub
event-hooks-webpack-plugin – npm
extend-webpack-plugin
参考:
file-webpack-plugin
参考:
lcxfs1991/file-webpack-plugin: offer extra file capacity for webpack – GitHub
webpack-emit-all-plugin
参考:
DrewML/webpack-emit-all-plugin: webpack, but without the `pack` – GitHub
wipeWebpackCache
参考:
theKashey/wipeWebpackCache – GitHub
ProgressPlugin
参考:
ProgressPlugin | Webpack [Official]
Webpack progress using node.js API – Stack Overflow
progress-bar-webpack-plugin
参考:
progress-bar-webpack-plugin – npm
clessg/progress-bar-webpack-plugin: A progress bar plugin for Webpack – GitHub
まとめ
参考:
webpack初級者から中級者にステップアップするために理解しておきたいプラグインまとめ – Qiita
Top Webpack plugins for faster development – codeburst
Making Webpack Less Painful To Use – GeekyAnts Blog
internal webpack plugins · webpack/docs Wiki – GitHub