-
Notifications
You must be signed in to change notification settings - Fork 12
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
[BUG]: outputPath doesn't seem to affect anything #6
Comments
Oh, I just noticed this:
That explains. But, can someone please help me explain how I can move files? https://www.npmjs.com/package/rollup-plugin-cpy doesn't seem to support moving files. |
Yes, Vite doesn't give a lot of options for handling where files are output. Why do you need to move instead of copy your dist files? If you just need to clean up your dist folder after generating you could just tack an {
"scripts":{
"build":"vite build && rimraf 'dist/**.(png|ico)'"
}
} FYI, This package is currently broken. I've run into limitations of the Favicons package (it wasn't built with library authors in mind). |
I'm going to keep this issue open as a documentation improvement. Once the package is working I'll want to potentially hide any no-op options and only specify the webpack config compatibility. |
This comment has been minimized.
This comment has been minimized.
I encountered the same issue, is there a solution for it? |
Prerequisites
Description
When I set
outputPath
and/orpublicPath
as described in README.md nothing seems to happen. The generated files are still written to the default public path. The only reference in the code that I can find isvite-plugin-favicon/src/index.ts
Line 39 in ecb6620
Steps to Reproduce
npm run build
Expected behavior:
I expect the files to be placed in
assets/images/favicons/
.Actual behavior:
The files end up in
assets/
.Reproduces how often:
100%
Versions
The text was updated successfully, but these errors were encountered: