How could I get webpack version in plugin #15526
Answered
by
vankop
yangguansen
asked this question in
Q&A
-
I'm making a webpack plugin, for compatible webpack@4 and webpack@5, how could i get webpack version in |
Beta Was this translation helpful? Give feedback.
Answered by
vankop
Mar 14, 2022
Replies: 1 comment 2 replies
-
in webpack@5 compiler has |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yangguansen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in webpack@5 compiler has
webpack
property (compiler.webpack
). Also if you want full version in webpack@5compiler.webpack.version