Skip to content

Commit f238439

Browse files
committed
Added pubignore to remove big & unnecessary files (eg. example/tool and /assets) from published package (3MB down to 872KB)
1 parent fd88c0a commit f238439

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

.pubignore

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
firebase.json
2+
.firebaserc
3+
codecov.yml
4+
example/tool/**
5+
example/assets/**
6+
7+
# From gitignore
8+
9+
# Miscellaneous
10+
*.class
11+
*.log
12+
*.pyc
13+
*.swp
14+
.DS_Store
15+
.atom/
16+
.buildlog/
17+
.history
18+
.svn/
19+
.fvm/
20+
21+
# IntelliJ related
22+
*.iml
23+
*.ipr
24+
*.iws
25+
.idea/
26+
27+
# The .vscode folder contains launch configuration and tasks you configure in
28+
# VS Code which you may wish to be included in version control, so this line
29+
# is commented out by default.
30+
.vscode/
31+
32+
# Flutter/Dart/Pub related
33+
**/doc/api/
34+
.dart_tool/
35+
.flutter-plugins
36+
.flutter-plugins-dependencies
37+
.packages
38+
.pub-cache/
39+
.pub/
40+
build/
41+
pubspec.lock
42+
43+
# Android related
44+
**/android/**/gradle-wrapper.jar
45+
**/android/.gradle
46+
**/android/captures/
47+
**/android/gradlew
48+
**/android/gradlew.bat
49+
**/android/local.properties
50+
**/android/**/GeneratedPluginRegistrant.java
51+
**/android/app/.cxx
52+
53+
# iOS/XCode related
54+
**/ios/**/*.mode1v3
55+
**/ios/**/*.mode2v3
56+
**/ios/**/*.moved-aside
57+
**/ios/**/*.pbxuser
58+
**/ios/**/*.perspectivev3
59+
**/ios/**/*sync/
60+
**/ios/**/.sconsign.dblite
61+
**/ios/**/.tags*
62+
**/ios/**/.vagrant/
63+
**/ios/**/DerivedData/
64+
**/ios/**/Icon?
65+
**/ios/**/Pods/
66+
**/ios/**/.symlinks/
67+
**/ios/**/profile
68+
**/ios/**/xcuserdata
69+
**/ios/.generated/
70+
**/ios/Flutter/App.framework
71+
**/ios/Flutter/Flutter.framework
72+
**/ios/Flutter/Flutter.podspec
73+
**/ios/Flutter/Generated.xcconfig
74+
**/ios/Flutter/app.flx
75+
**/ios/Flutter/app.zip
76+
**/ios/Flutter/flutter_assets/
77+
**/ios/Flutter/flutter_export_environment.sh
78+
**/ios/ServiceDefinitions.json
79+
**/ios/Runner/GeneratedPluginRegistrant.*
80+
81+
# Exceptions to above rules.
82+
!**/ios/**/default.mode1v3
83+
!**/ios/**/default.mode2v3
84+
!**/ios/**/default.pbxuser
85+
!**/ios/**/default.perspectivev3
86+
87+
# Coverage files
88+
coverage/

0 commit comments

Comments
 (0)