I am trying to use a Tailwindcss RTL plugin, which generates some classes starting with [dir=rtl] or [dir=ltr]. But due to Purge CSS is removing it regardless of it's use.
How to whitelist or Safelist, attribute selectors with purgeCSS (Tailwindcss)?
1.4k Views Asked by Sidwebworks At
1
There are 1 best solutions below
Related Questions in TAILWIND-CSS
- Heroku build failure with react and tailwind
- Tailwind css dark mode does not enable
- PurgeCSS ignores the used classes
- How to create a custom variant in tailwindcss?
- Tailwind - css rule is invisible if I use layer
- Tailwind CSS logo centered
- Tailwindcss purges whitelisted tag
- Building tailwind css as public site and vuetify as admin dashboard
- Remove margin on column over certain breakpoint
- Next.JS -> A null PostCSS plugin was provided
- How to set max width as a percentage or static value
- How to modify svg icon colors with Tailwind
- How to add new colors to tailwind-css and keep the original ones?
- navbar functionlity in react and tailwind is really odd nd unsure how to fix it up
- Deploying React with Tailwind & AOS
Related Questions in POSTCSS
- Post CSS critical split
- gulp postcss cssnext autoprefixer not working
- Vue single file component and SugarSS from PostCSS with Webpack
- How to use absolute paths within a css-module to compose other classes instead of relative paths
- What is wrong with how I am using media queries in css-next?
- Using Webpack with SASS and PostCSS in Angular2
- Using postcss with autoprefixer and geting the error - 'cannot find module'
- postcss autoprefixer ignoring grid properties with gulp
- css-loader import is not working properly
- Webpack and PostCSS Autoprefixer not compiling Sass partials
- Difference between Postcss and styled-components
- PurgeCSS ignores the used classes
- GRUNT: grunt-postcss not executing cssnano when used together with sass - if scss file long
- Expected CSS spec value type for each property in JavaScript
- Troubles combining bundling Svelte Material UI with custom SCSS using Rollup
Related Questions in CRACO
- SyntaxError: Unexpected token < at ScriptTransformer._transformAndBuildScript (../../node_modules/jest-runtime/build/script_transformer.js
- Is it possible to change stylesheet URI on production build (webpack / craco)?
- Adding a ReactJS app to any HTML page with minimal output files
- React craco tailwind postcss integration
- How to set react typescript paths alias with craco
- Mock `Number.toLocaleString()` so it returns same results in tests independent of user locale
- Module not found: Error: Can't resolve 'react-native/Libraries/Image/AssetRegistry' in '/home/hodzhakhov/project/plugin/node_modules/expo-asset/build'
- Vite/Microbundle node module with import statement
- How to build react app each time when code is modified
- How to add webpack style-loader nonce attribute to a craco config
- Using 'craco' with 'less' and 'postcss'
- Attempted import error: '@module' does not contain a default export (imported as 'module')
- Problems when building React App with Craco and Webpack 5 in VSCode
- Upgrade Tailwindcss from 2 to 3
- Reat-testing-Library with Jest doesnt resolve CRACO aliases
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Here is how I solved this Because pure CSS is dumb, it looks for the strings that match the content it needs to purge. So to fool it, we can simply add the classes or attributes which we want to be saved.
like this