Cosmin Popovici
Cosmin Popovici
It's here: https://github.com/posthtml/posthtml-expressions/blob/260a048538e78f79d9d62e15961ecd6f4129d399/test/test-locals.js#L34-L40 > Should I prepare a repo with this? Yes please if you can, thanks.
Hi there, This is how the JIT engine in Tailwind works, it only generates classes that it 'sees' used in one of the defined [content sources](https://tailwindcss.com/docs/content-configuration). All you have to...
You could `require` `config.local.js` in `tailwind.config.js` and use that `path`: ```js // tailwind config const localConfig = require('./config.local.js') module.exports = { content: `${localConfig.path}{layouts,templates,components}/**/*.{html,js}` } ``` Mind the `/` at the...
`content` must be an array, not a string. Your paths are probably not pointing to the correct directory relative to your project root, perhaps [this note](https://tailwindcss.com/docs/content-configuration#configuring-source-paths) in the Tailwind docs...
Sorry about that, I shortened the code for the example. You need to get the correct key from `config.js` and then you can pass it to `content` via a [template...
Just saw this in Tailwind 3.2 which may be exactly what you need: https://github.com/tailwindlabs/tailwindcss/pull/9396 I’ll try to publish a release today which will include Tailwind CSS 3.2, just need to...
It's been released in v4.2.0, give it a try.
It's happening because of [`dumpLinkHrefsNearby` in `string-strip-html`](https://codsen.com/os/string-strip-html/#optional-options-object) - might be a bug there as it would make sense to not output any hrefs from tags that have been removed. In...
Opened an issue with `string-strip-html`: https://github.com/codsen/codsen/issues/54
@michellaurent in the end we had to work around the issue in Maizzle, the `string-strip-html` library is now ESM and we're still CJS, and fixing this bug in their old...