unplugin icon indicating copy to clipboard operation
unplugin copied to clipboard

Naming convention - unplugin-** prefix?

Open TechAkayy opened this issue 4 years ago • 1 comments

webpack official plugins have been using -webpack-plugin suffix (https://github.com/webpack/webpack/issues/1847) vite & rollup are using vite-plugin- and rollup-plugin-** prefixes (https://vitejs.dev/guide/api-plugin.html#conventions)

Looking at the examples (https://github.com/unjs/unplugin#examples), are we sticking with unplugin-** prefixing naming convention?

But the usage examples (https://github.com/unjs/unplugin#usage) follow suffixes like my-unplugin/ MyUnplugin / my-first-unplugin

TechAkayy avatar Nov 12 '21 11:11 TechAkayy

Yeah, that's a good point. We should stick with prefixing (was trying to make it more grammatical readable in the examples), it make senses to align with the conversion, PR welcome, thanks!

antfu avatar Nov 12 '21 15:11 antfu