You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -287,12 +284,11 @@ Here is a bit more about what each script does:
287
284
288
285
1.`build`: Builds the production version of the javascript and css bundles, regenerates PNG and SVG sprites.
289
286
2.`start`: Starts the development sequence, regenerates PNG and SVG sprites, opens your default browser and watches for changes.
290
-
3.`optisize`: Optimizes your PNG, JPG and GIF images.
291
-
4.`html`: Converts your `index.php` file to `index.html`.
292
-
5.`critical`: Using the `index.html` extracts the critical css and generates a `critical.css` file in the `assets/dist` folder which is then inlined in the `index.php` file.
293
-
6.`rm-html`: Deletes the `index.html` file.
294
-
7.`pwa`: Generates boilerplate files for a PWA. More info [here](https://github.com/scriptex/create-pwa).
295
-
8.`prod`: Runs 1, 4, 5, 6. (In this exact order).
287
+
3.`html`: Converts your `index.php` file to `index.html`.
288
+
4.`critical`: Using the `index.html` extracts the critical css and generates a `critical.css` file in the `assets/dist` folder which is then inlined in the `index.php` file.
289
+
5.`rm-html`: Deletes the `index.html` file.
290
+
6.`pwa`: Generates boilerplate files for a PWA. More info [here](https://github.com/scriptex/create-pwa).
291
+
7.`prod`: Runs 1, 4, 5, 6. (In this exact order).
296
292
297
293
In order to use the ability to generate critical CSS you must have the `php` binary exposed in your bash terminal.
298
294
More about PHP's commandline usage can be found [here](http://php.net/manual/en/features.commandline.php).
0 commit comments