Optimising the performance of an Ionic PWA - CSS Delivery


#1

Tags: Ionic 3, PWA, Sass, CSS

In a previous post, I showed you how to add Angular’s Service Worker (NGSW) module to an Ionic project.

In this post, I’ll show you how to optimise your CSS delivery.

Create a Sass configuration file

To get Ionic Apps up and running quickly version 3 of the Ionic Framework includes Ionic App Scripts.

@ionic/app-scripts provides default configuration files for each of it’s build tasks, we can override the defaults by providing our own configuration files.

See: https://robferguson.org/blog/2018/04/17/optimising-the-performance-of-an-ionic-pwa-part-2/