Rename plugin class
Closed this issue · 6 comments
Hi,
According to Webpack team:
3rd party Plugin names should be foo-webpack-plugin for pkg name and FooWebpackPlugin for class
The package will not be renamed for now but we have to change plugin class.
It should keep compatibility with previous class name.
Task list
- Change documentation
- Update test case
- Update class name
If you find another side effect, do not hesitate to correct it
Thank you
If you are still looking for a contributor for this I would love to help out. I found this through Twitter Your First PR.
Hi @Phinneas,
Thank you for helping us !
Of course, I always looking for project contributors. For this issue, nobody has started to work on, so, please feel free to make a pull request with your enhancement 😉
I hope we'll work together on great stuffs !
Welcome
Hi,
I'm glad to hear that you're a "student" and you already want to contribute to help the community ❤️
So, I'll give you some tricks to resolve this issue.
For now, we have class ContentReplacer
in the index.js file
We need to have a class name ContentReplacerWebpackPlugin
so you can easily change class name.
You have to replace all constructor in tests
After that, make a commit, a pull request and I'll give you more advice to complete the issue
Thank you very much @Phinneas