Skip to content

Commit 88ffaea

Browse files
change @tailiwindcss/jit to tailwindcss mode: 'jit'
1 parent f4d43bb commit 88ffaea

File tree

4 files changed

+26
-51
lines changed

4 files changed

+26
-51
lines changed

.postcssrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
plugins: [
33
require('postcss-easy-import'),
4-
require('@tailwindcss/jit')('./src/_css/tailwind.config.js'),
4+
require('tailwindcss')('./src/_css/tailwind.config.js'),
55
require('autoprefixer'),
66
],
77
}

package-lock.json

+23-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"devDependencies": {
3232
"@11ty/eleventy": "^0.11.1",
3333
"@11ty/eleventy-plugin-rss": "^1.1.0",
34-
"@tailwindcss/jit": "^0.1.17",
3534
"autoprefixer": "^10.2.1",
3635
"fast-glob": "^3.2.5",
3736
"js-beautify": "^1.13.2",
@@ -43,7 +42,7 @@
4342
"postcss-easy-import": "^3.0.0",
4443
"prettier": "^2.2.1",
4544
"rimraf": "^3.0.2",
46-
"tailwindcss": "^2.0.4"
45+
"tailwindcss": "^2.1.1"
4746
},
4847
"author": "[email protected]",
4948
"license": "GPL3",

src/_css/tailwind.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
prefix: '',
3+
mode: 'jit',
34
purge: {
45
content: ['_site/**/*.html'],
56
defaultExtractor: (content) => content.match(/[A-Za-z0-9-_:\.\/]+/g) || [],

0 commit comments

Comments
 (0)