This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| from zipfile import ZipFile, Path | |
| """ | |
| TailwindCSS plugin patcher for IntelliJ IDEA | |
| -------------------------------------------- | |
| 1. Download the latest ZIP of the plugin compatible with your version of IntelliJ here: | |
| https://plugins.jetbrains.com/plugin/15321-tailwind-css/versions | |
| 2. Fill `CLASS_ATTRIBUTES` to specify which XML attributes can contain Tailwind classes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Generates an [InternalPath] type with all pages known to Gatsby. | |
| * | |
| * Uses the onPreExtractQueries hook as it's the only hook which both runs | |
| * after pages are created and re-runs when `gatsby develop` detects a change. | |
| */ | |
| const EXCLUDED_PATHS = ["/404/", "/404.html", "/dev-404-page/"]; | |
| export const onPreExtractQueries: GatsbyNode["onPreExtractQueries"] = async ( | |
| args, |