Skip to content

Commit

Permalink
Exclude a few more files from production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
d13r committed Feb 23, 2020
1 parent 64e5d3e commit 1d8675a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@

/*.lock export-ignore
/*.md export-ignore
/*.png export-ignore
/*.xml export-ignore
/*.xml.dist export-ignore
/*.yml export-ignore
/.babelrc export-ignore
/.env.example export-ignore
/package.json export-ignore
/webpack.*.js export-ignore

/resources/img/ export-ignore
/resources/js/ export-ignore
/resources/sass/ export-ignore
/resources/views/wireframes/ export-ignore
/scripts/ export-ignore
/tests/ export-ignore

Expand Down
12 changes: 7 additions & 5 deletions routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
->group(static function () {

// Wireframes (TODO: remove once fully implemented)
Route::view('wireframes', 'migrations-ui::wireframes.index')->name('migrations-ui.wireframes.index');
Route::view('wireframes/create', 'migrations-ui::wireframes.create.step1')->name('migrations-ui.wireframes.create');
Route::view('wireframes/create/step2', 'migrations-ui::wireframes.create.step2')->name('migrations-ui.wireframes.create.step2');
Route::view('wireframes/create/step3', 'migrations-ui::wireframes.create.step3')->name('migrations-ui.wireframes.create.step3');
Route::view('wireframes/create/step4', 'migrations-ui::wireframes.create.step4')->name('migrations-ui.wireframes.create.step4');
if (file_exists(__DIR__ . '/resources/views/wireframes')) {
Route::view('wireframes', 'migrations-ui::wireframes.index')->name('migrations-ui.wireframes.index');
Route::view('wireframes/create', 'migrations-ui::wireframes.create.step1')->name('migrations-ui.wireframes.create');
Route::view('wireframes/create/step2', 'migrations-ui::wireframes.create.step2')->name('migrations-ui.wireframes.create.step2');
Route::view('wireframes/create/step3', 'migrations-ui::wireframes.create.step3')->name('migrations-ui.wireframes.create.step3');
Route::view('wireframes/create/step4', 'migrations-ui::wireframes.create.step4')->name('migrations-ui.wireframes.create.step4');
}

// Assets
Route::get('assets/{path}', 'AssetController')
Expand Down

0 comments on commit 1d8675a

Please sign in to comment.