Skip to content

feat(package): add unimport presets and unplugin-vue-components resolvers #21129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

userquin
Copy link
Member

@userquin userquin commented Mar 19, 2025

Description

Last PR to include node stuff: this PR can be closed once merged #20536

Both subpackage exports ESM-only, if you want to use dual ESM/CJS ping me...

I need to do some tests...

Markup:

NA

info.push({
pascalName: component,
kebabName: toKebabCase(component),
export: component,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add component prefix support here?

@userquin
Copy link
Member Author

userquin commented Apr 10, 2025

At this point I want to create also custom vuetify styles plugin using unplugin, this way we can also support other bundlers "for free" (🤞 ). I guess at this point this PR should be moved to loader repo as a new package with 3/4 sub-package exports, unimport preset, unplugin-vue-components resolvers, unplugin styles plugin (default) and maybe utils with some exports from the utils.ts module here.

/cc @KaelWD @AndreyYolkin

Kael, we should move the repo to pnpm workspaces using pnpm catalogs (VSCode pnpm lens plugin), 30 minutes to add dependencies to the new package ;)

@userquin
Copy link
Member Author

New @unvuetify/monorepo repository created and initial packages versions published, we'll have some more Vite/Nuxt utilities in this new repository

@userquin userquin closed this Apr 17, 2025
@userquin userquin deleted the userquin/feat-add-unimport-unplugin-presets branch April 17, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants