From 9688624bcee976f41eab828d85332bfcdd0ea219 Mon Sep 17 00:00:00 2001 From: Umberto Pepato Date: Wed, 21 Jun 2023 12:21:53 +0200 Subject: [PATCH] feat: exclude Vite direct style tags by default --- README.md | 24 +++++++++++++++++------- index.ts | 16 ++++++++++------ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index bfcb28e..5419db1 100644 --- a/README.md +++ b/README.md @@ -148,17 +148,27 @@ import myStyles from './styles.css?inline'; ```javascript postcssLit({ - // A glob (or array of globs) of files to include. - // Default: **/*.{css,sss,pcss,styl,stylus,sass,scss,less} + /** + * A glob (or array of globs) of files to include + * + * @default '**‎/*.{css,sss,pcss,styl,stylus,sass,scss,less}?(*)' + */ include: ..., - // A glob (or array of globs) of files to exclude. - // Default: null + /** + * A glob (or array of globs) of files to exclude + * + * The default filter is used to prevent `