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

Plugin for copying and transforming a file during "dev" sessions #773

Open
Shujee opened this issue Aug 24, 2023 · 1 comment
Open

Plugin for copying and transforming a file during "dev" sessions #773

Shujee opened this issue Aug 24, 2023 · 1 comment

Comments

@Shujee
Copy link

Shujee commented Aug 24, 2023

Is there a plugin that I could use to copy and then transform a file at the start of npm run dev sessions? All the plugins that I have found only work when npm run build is executed. I need to generate a manifest file that will be used by the application during development build.

@vijay8i
Copy link

vijay8i commented Dec 4, 2023

Hi,

I had a similar need as yours and I ended up creating a vite plugin for it. It's working out well for me. Check out vite run task plugin and let me know if it fits your need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants