I am developing an web app with a few css and svg files.
This is my first project in snowpack.
Everything seems to work perfectly but when I am building the app all raw css and svg files are being added to final build making the bundle size larger.
Everything gets loaded by proxy files and works with out the source files.
So I am scanning the build directory and deleting them with a script.
Proposed solution
Possible solutions
Add an Filter option in build option to Omit files based on RegEx
Alternatives considered
Any Custom Scanner Script to delete the files
Detailed design
No response
Open questions
No response
Help make it happen!
[ ] I am willing to submit a PR to implement this change.
[X] I am willing to submit a PR to implement this change, but would need some guidance.
[ ] I am not willing to submit a PR to implement this change.
Motivation
I am developing an web app with a few css and svg files. This is my first project in snowpack. Everything seems to work perfectly but when I am building the app all raw css and svg files are being added to final build making the bundle size larger. Everything gets loaded by proxy files and works with out the source files. So I am scanning the build directory and deleting them with a script.
Proposed solution
Possible solutions
Alternatives considered
Detailed design
No response
Open questions
No response
Help make it happen!