Skip to content
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

move bundler plugins into paraglide js #212

Open
samuelstroschein opened this issue Sep 4, 2024 — with Linear · 0 comments
Open

move bundler plugins into paraglide js #212

samuelstroschein opened this issue Sep 4, 2024 — with Linear · 0 comments
Labels

Comments

Copy link
Member

samuelstroschein commented Sep 4, 2024

Simplify the dependencies and documentation of paraglide js by moving the vite plugin into paraglide.

Most plugins are just a re-export of unplugin

import { paraglide as unpluginParaglide } from "@inlang/paraglide-unplugin"

type PluginOptions = Parameters<typeof unpluginParaglide.rollup>
export const paraglide: (...args: PluginOptions) => any = unpluginParaglide.rollup
@samuelstroschein samuelstroschein changed the title move vite plugin into paraglide js move bundler plugins into paraglide js Sep 4, 2024
@samuelstroschein samuelstroschein added the v2.0 label Sep 4, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant