You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use your plugin with Webpack 2.1.0 and I get following error:
C:\Projekty\web-frontend\node_modules\git-revision-webpack-plugin\lib\build-file.js:6
compiler.hooks.compilation.tap('compilation', (compilation) => {
^
TypeError: Cannot read property 'compilation' of undefined
at buildFile (C:\Projekty\web-frontend\node_modules\git-revision-webpack-plugin\lib\build-file.js:6:17)
at GitRevisionPlugin.apply (C:\Projekty\web-frontend\node_modules\git-revision-webpack-plugin\lib\index.js:30:3)
at Compiler.apply (C:\Projekty\web-frontend\node_modules\tapable\lib\Tapable.js:375:16)
at WebpackOptionsApply.process (C:\Projekty\web-frontend\node_modules\webpack\lib\WebpackOptionsApply.js:58:18)
at webpack (C:\Projekty\web-frontend\node_modules\webpack\lib\webpack.js:25:48)
at Object.<anonymous> (C:\Projekty\web-frontend\conf\browsersync.conf.js:8:24)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Function.Module._load (C:\Projekty\web-frontend\node_modules\gulp-hub\lib\load-subfile.js:26:32)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Projekty\web-frontend\gulp_tasks\browsersync.js:5:25)
at Module._compile (module.js:570:32)
Is it possible to run it with Webpack 2?
The text was updated successfully, but these errors were encountered:
Hi @Mossar,
v3.0.0 Is released with support for Webpack 4.
You could try using an older release, or upgrade to Webpack 4 (which might take you some time).
@pirelenito Maybe it's worth adding dependencies to the README. 😃
Hello!
I try to use your plugin with Webpack 2.1.0 and I get following error:
Is it possible to run it with Webpack 2?
The text was updated successfully, but these errors were encountered: