pirelenito / git-revision-webpack-plugin

🏗 Webpack plugin that generates VERSION and COMMITHASH files during build
https://www.npmjs.com/package/git-revision-webpack-plugin
MIT License
358 stars 48 forks source link

Warning when work with webpack 5 #50

Closed toddwong closed 3 years ago

toddwong commented 4 years ago

Webpack 5 is now in beta now, this awesome plugin triggers a warning when work with it:

[DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH] DeprecationWarning: MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)
pirelenito commented 3 years ago

Official support for Webpack 5 has just been released on v4.0.0.