refactor(pluginutils): use pathe to support browser environments
Rollup Plugin Name: pluginutils
This PR contains:
- [ ] bugfix
- [ ] feature
- [x] refactor
- [ ] documentation
- [ ] other
Are tests included?
- [ ] yes (bugfixes and features will not be merged without tests)
- [x] no
Breaking Changes?
- [ ] yes (breaking changes will not be merged unless absolutely necessary)
- [x] no
If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
Uses pathe instead of Node's native path module to support browser environments
Without discussion on why this is needed, I'm not inclined to approve this. Why not just alias path to pathe within bundler configuration?
Thanks for your reply.
I created a REPL supports rollup plugins, but when plugin are using createFilter that's will be don't support browser. https://repl.zmjs.dev/vue-macros/vue-jsx-vapor
No matter, this maybe not a popular demand. you can close it at will.
Yes I think a fork here would be more appropriate. Thank you for the PR none the less.