是否有适用于 webpack v5 的兼容 webpack war 插件?
我需要使用一个 webpack 插件来为我的构建输出创建一个 war 文件。我最近升级到了 webpack 5,发现 webpack-war-plugin
与 webpack 5 不兼容,因为其中一个包文件中的一行包含 compiler.plugin
,这会抛出类型错误。是否有一个更新版本的 webpack war 插件不会抛出此错误,或者是否有另一个与 webpack 5 兼容的包我可以用来创建一个 war 文件?我做了一些研究,发现 webpack-war-plugin
和类似的插件大约有五六年没有更新了。
I need to utilize a plugin for webpack that creates a war file for my build outputs. I recently upgraded to webpack 5 and discovered that webpack-war-plugin
is incompatible with webpack 5 because a line in one of the package files contains compiler.plugin
, which throws a type error. Is there an updated version of the webpack war plugin that doesn't throw this error or is there another package compatible with webpack 5 I can use to create a war file? I did some research and found out that webpack-war-plugin
and similar plugins haven't been updated in about 5 or 6 years.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论