add svelte extension to purge list (#529)

This commit is contained in:
Robert Soriano 2021-06-24 21:53:58 +08:00 committed by GitHub
parent a89a52b1cd
commit d6dfff6000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ And also create a `tailwind.config.js` in your project root:
// tailwind.config.js
module.exports = {
mode: 'jit',
purge: ['./public/**/*.html', './src/**/*.{astro,js,jsx,ts,tsx,vue}'],
purge: ['./public/**/*.html', './src/**/*.{astro,js,jsx,ts,tsx,vue,svelte}'],
// more options here
};
```