Skip to content

Commit fb31cfa

Browse files
authored
chore: update tailwind v4 in test cases (#1232)
1 parent eb674ab commit fb31cfa

File tree

10 files changed

+433
-338
lines changed

10 files changed

+433
-338
lines changed

pnpm-lock.yaml

Lines changed: 424 additions & 303 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/style/tailwindcss/bundle-false/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "tailwindcss-bundle-false-test",
33
"private": true,
44
"devDependencies": {
5-
"tailwindcss": "^3.4.17"
5+
"@tailwindcss/postcss": "^4.1.13",
6+
"tailwindcss": "^4.1.13"
67
}
78
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
const path = require('node:path');
2-
31
module.exports = {
42
plugins: {
5-
tailwindcss: {
6-
config: path.join(__dirname, './tailwind.config.cjs'),
7-
},
3+
'@tailwindcss/postcss': {},
84
},
95
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@tailwind utilities;
1+
@import 'tailwindcss';

tests/integration/style/tailwindcss/bundle-false/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import './index.css';
22

33
const div = document.createElement('div');
44

5-
div.classList.add('text-3xl', 'font-bold', 'underline', 'alert');
5+
div.classList.add('text-3xl', 'font-bold', 'underline');
66

77
export { div };

tests/integration/style/tailwindcss/bundle-false/tailwind.config.cjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/integration/style/tailwindcss/bundle/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "tailwindcss-bundle-test",
33
"private": true,
44
"devDependencies": {
5-
"tailwindcss": "^3.4.17"
5+
"@tailwindcss/postcss": "^4.1.13",
6+
"tailwindcss": "^4.1.13"
67
}
78
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
const path = require('node:path');
2-
31
module.exports = {
42
plugins: {
5-
tailwindcss: {
6-
config: path.join(__dirname, './tailwind.config.cjs'),
7-
},
3+
'@tailwindcss/postcss': {},
84
},
95
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@tailwind utilities;
1+
@import 'tailwindcss';

tests/integration/style/tailwindcss/bundle/tailwind.config.cjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)