How to exclude files from pub publish for Dart packages?
711
You can now create a .pubignore
file to do this. See this PR for more details on how this works.
Author by
Shahzad Akram
Updated on December 21, 2022Comments
-
Shahzad Akram over 1 year
Is there any way to exclude certain files or directories from
pub publish
for dart packages?I am publishing a package that has so many screenshots. I want them to upload on GitHub but not on
Pub.Dev
. The intention behind this is to reduce the package size.