Closed ronami closed 3 years ago
Similar to https://github.com/wix-incubator/tpa-style-webpack-plugin/pull/23, this PR tries to fully support webpack v5. While this plugin works fine with webpack v5, there's a lot of noise from deprecation warnings.
I fixed the deprecation warnings, while still supporting webpack v4. I used a flag to determine what APIs to use. I think it's a lot easier than maintaining two major versions of this plugin.
Summary
Similar to https://github.com/wix-incubator/tpa-style-webpack-plugin/pull/23, this PR tries to fully support webpack v5. While this plugin works fine with webpack v5, there's a lot of noise from deprecation warnings.
I fixed the deprecation warnings, while still supporting webpack v4. I used a flag to determine what APIs to use. I think it's a lot easier than maintaining two major versions of this plugin.