Skip to content

Commit e5621ad

Browse files
author
Kristoffer Alfheim
committed
Spacing
1 parent 234993b commit e5621ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/config/criticalcss.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
return [
11+
1112
/*
1213
|--------------------------------------------------------------------------
1314
| Routes
@@ -28,6 +29,7 @@
2829
| parameters filled out.) Make sure the request won't 404.
2930
|
3031
*/
32+
3133
'routes' => [
3234
// 'static/route', // In Blade: `@criticalCss('static/route')`
3335
// 'users/profile' => 'users/1', // In Blade: `@criticalCss('users/profile')`
@@ -43,6 +45,7 @@
4345
| The file is relative to the public path, i.e., `public_path($css)`.
4446
|
4547
*/
48+
4649
'css' => ['css/app.css', 'css/app2.css'],
4750

4851
/*
@@ -53,6 +56,7 @@
5356
| Width and height of the target viewport.
5457
|
5558
*/
59+
5660
'width' => 1300,
5761
'height' => 900,
5862

@@ -66,6 +70,7 @@
6670
| @see https://github.com/bezoerb/filter-css
6771
|
6872
*/
73+
6974
'ignore' => [
7075
// Removes @font-face blocks
7176
// '@font-face',
@@ -85,6 +90,7 @@
8590
| The directory which the generated critical-path CSS is stored.
8691
|
8792
*/
93+
8894
'storage' => 'critical-css',
8995

9096
/*
@@ -99,6 +105,7 @@
99105
| Remember to run `php artisan view:clear` after re-disabling this.
100106
|
101107
*/
108+
102109
'pretend' => env('CRITICALCSS_PRETEND', false),
103110

104111
/*
@@ -111,6 +118,7 @@
111118
| If your app is running on Laravel 5.0, this must be disabled.
112119
|
113120
*/
121+
114122
'blade_directive' => true,
115123

116124
/*
@@ -123,6 +131,7 @@
123131
| installed globally, you may simply use 'critical'.
124132
|
125133
*/
134+
126135
'critical_bin' => base_path('node_modules/.bin/critical'),
127136

128137
];

0 commit comments

Comments
 (0)