File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 2929 * The URL to the NativePHP API.
3030 */
3131 'api_url ' => env ('NATIVEPHP_API_URL ' , 'http://localhost:4000/api/ ' ),
32+
33+ /**
34+ * The default list of files to exclude from the build
35+ */
36+ 'cleanup_exclude_files ' => [
37+ // .git and dev directories
38+ '.git ' ,
39+ 'dist ' ,
40+ 'docker ' ,
41+ 'packages ' ,
42+ '**/.github ' ,
43+
44+ // Potentially containing sensitive info
45+ 'database/*.sqlite ' ,
46+ 'database/*.sqlite-shm ' ,
47+ 'database/*.sqlite-wal ' ,
48+
49+ 'storage/framework/sessions/* ' ,
50+ 'storage/framework/testing/* ' ,
51+ 'storage/framework/cache/* ' ,
52+ 'storage/framework/views/* ' ,
53+ 'storage/logs/* ' ,
54+
55+ // Only needed for local testing
56+ 'vendor/nativephp/electron/resources ' ,
57+ 'vendor/nativephp/electron/vendor ' ,
58+ 'vendor/nativephp/electron/bin ' ,
59+ 'vendor/nativephp/laravel/vendor ' ,
60+ 'vendor/nativephp/php-bin ' ,
61+
62+ // Also deleted in PrunesVendorDirectory after fresh composer install
63+ 'vendor/bin '
64+ ]
3265];
You can’t perform that action at this time.
0 commit comments