Skip to content

Commit 66baf9b

Browse files
RobinMalfaitistr
andauthored
Improve tests for Tailwind CSS v3 (#252)
* Adjust tailwind.config.js to match v3 (drop purge: entry) * Adjust tests to tw3 non-alpha output * run prettier on test file * rename `twVariables` to `defaults` This is more inline with what we do in the tailwindcss codebase itself * embed the `${defaults}` directly Co-authored-by: Ingo Struck (git commits) <gitlab@ingostruck.de>
1 parent 74c0458 commit 66baf9b

File tree

4 files changed

+3800
-4396
lines changed

4 files changed

+3800
-4396
lines changed

demo/tailwind.config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
const mdx = require('@mdx-js/mdx')
22

33
module.exports = {
4-
purge: {
5-
content: ['./demo/pages/**/*.{js,mdx}', './demo/components/**/*.{js,mdx}'],
6-
transform: {
7-
mdx: (content) => mdx.sync(content),
8-
},
4+
content: ['./demo/pages/**/*.{js,mdx}', './demo/components/**/*.{js,mdx}'],
5+
transform: {
6+
mdx: (content) => mdx.sync(content),
97
},
108
theme: {
119
extend: {

0 commit comments

Comments
 (0)