Skip to content

Commit

Permalink
Update dependences including Tailwind JIT. (leerob#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Apr 11, 2021
1 parent 6775171 commit 602a9f0
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 595 deletions.
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@
"@mapbox/rehype-prism": "0.6.0",
"@mdx-js/loader": "1.6.22",
"@mdx-js/react": "1.6.22",
"@next/mdx": "10.1.1",
"@next/mdx": "10.1.3",
"@tailwindcss/typography": "^0.4.0",
"autoprefixer": "^10.2.5",
"big.js": "6.0.3",
"comma-number": "2.0.1",
"date-fns": "2.19.0",
"date-fns": "2.20.1",
"fathom-client": "3.0.0",
"firebase-admin": "9.5.0",
"firebase-admin": "9.6.0",
"googleapis": "48.0.0",
"gray-matter": "4.0.2",
"ioredis": "^4.24.5",
"ioredis": "^4.26.0",
"mdx-prism": "0.3.3",
"micro-cookie-session": "^2.0.0-beta.1",
"next": "10.1.1",
"next": "10.1.3",
"next-mdx-remote": "^2.1.3",
"next-themes": "^0.0.14",
"postcss": "^8.2.8",
"postcss": "^8.2.10",
"preact": "^10.5.13",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand All @@ -46,12 +46,11 @@
"remark-autolink-headings": "6.0.1",
"remark-code-titles": "0.1.1",
"remark-slug": "6.0.0",
"swr": "0.5.4",
"tailwindcss": "^2.0.4",
"swr": "0.5.5",
"tailwindcss": "^2.1.1",
"unsplash-js": "6.3.0"
},
"devDependencies": {
"@tailwindcss/jit": "^0.1.17",
"globby": "11.0.3",
"image-size": "0.9.7",
"prettier": "2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
'@tailwindcss/jit': {},
tailwindcss: {},
autoprefixer: {}
}
};
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { spacing, fontFamily } = require('tailwindcss/defaultTheme');

module.exports = {
mode: 'jit',
purge: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js'],
darkMode: 'class',
theme: {
Expand Down
Loading

0 comments on commit 602a9f0

Please sign in to comment.