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.5k Views Asked by Sidwebworks At
1
There are 1 best solutions below
Related Questions in TAILWIND-CSS
- General questions about creating a custom theme Moodle CMS
- Vue/TailwindCSS - Content is behind Sidebar
- 'bun' is not recognized as an internal or external command
- Trouble generating PDFs with Playwright in Docker container
- tailwind CSS applied on react component moves the navigation bar along in remix
- Is there a way to support Tailwind @apply in Visual Studio?
- Flex layout with grid system in tailwind
- How do I integrate an existing delete function that is located in my routes.php file to a delete button in a modal in my hr.employees.profile.php?
- How can i prevent the image from zooming in when i resize the browser?
- Tailwind CSS background image does not work on github pages
- How to achieve this with chart.js in react?
- What other ways to get my expo go to load?
- Tailwind.css in Remix project does not load file or styles
- Tailwind would not load in a new nextjs app... Unexpected character '@'
- Web server doesnt output the website like in the project on localhost
Related Questions in POSTCSS
- Can't apply certain existing Tailwind classes to custom selectors in CSS files
- vscode-stylelint throws errors on the JS parts of CSS-in-JS
- Unwanted dark class added to html
- @tailwind base; Unknown word for vite
- tailwind @layer base not bundled by webpack with node_modules
- Stencil and Tailwind Integration - Gradient Variables Returning Blank
- vite bundle skeleton ui -- safelisting skeleton-tailwind utility classes
- How can I remove all tailwind utility classnames after building with vite?
- TypeError: originalCss.match is not a function in postcss-assets-webpack-plugin after webpack5 upgrade
- Configure url() source in tailwind.config
- Nuxt 2: PostCSS Error: original.line and original.column are not numbers
- Exclude specific files from being processed by a specific PostCSS plugin in vite.config.js file
- Dark Mode Toggle in Tailwind CSS not working in older browsers
- Can I use context/store values outside of svelte pages?
- The tailwind part of the classes does not work, but only on one Angular 17 page
Related Questions in CRACO
- craco configuration with mode attribute
- How do I run a React app locally using npm serve
- Isolating styles within Microfrontend app using StylesProvider
- Craco config for setting alias
- React cannot find module, '@babel/plugin-proposal-private-property-in-object' (0:undefined) on Jenkins
- I Can See Source Code on Browser Even After I Uglify the Project
- Blur event doesn't occur well when I install million.js
- Progressive web app not installable not working using craco/typescript and create-react-app
- Build error on React 17 when trying to import a new custom library
- How to transpile specific package in node_modules using craco
- How can I load constant variable from src into craco.config.js?
- CKEditor 5 Image Plugin Got Error on React
- Dockerfile Build Issue in GitHub Actions: Module Not Found Error
- I have a file in the local network. Is there any way I can access it in the ReactJS project that I run locally?
- Docker Build Succeeds Locally but Fails on GitHub Actions with Module Resolution Error
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 # Hahtags
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