mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
* use String.raw for css escapes
This will allow us to write code like:
```css
.mobile\:font-bold {}
```
Instead of
```css
.mobile\\:font-bold {}
```
Which resembles "real" css way better in our tests.
* use String.raw in integration tests as well
3 lines
176 B
JavaScript
3 lines
176 B
JavaScript
// Small helper to allow for css, html and JavaScript highlighting / formatting in most editors.
|
|
module.exports = { css: String.raw, html: String.raw, javascript: String.raw }
|