Skip to content

Commit

Permalink
chore: upgrade tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
Weihua Lu authored and tiensonqin committed Jul 6, 2021
1 parent 3c602ab commit 40d912c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"private": true,
"main": "static/electron.js",
"devDependencies": {
"@tailwindcss/jit": "^0.1.1",
"@tailwindcss/ui": "0.7.2",
"@types/gulp": "^4.0.7",
"cross-env": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = (ctx) => ({
require('postcss-nested')({}),
require('postcss-import-ext-glob')({}),
require('postcss-import')({}),
require('@tailwindcss/jit')('tailwind.config.js'),
require('tailwindcss')('tailwind.config.js'),
],
})
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const colors = require('tailwindcss/colors')

module.exports = {
mode: 'jit',
purge: [
'./src/**/*.js',
'./src/**/*.cljs',
Expand Down
18 changes: 0 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1126,19 +1126,6 @@
mini-svg-data-uri "^1.0.3"
traverse "^0.6.6"

"@tailwindcss/jit@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@tailwindcss/jit/-/jit-0.1.1.tgz"
integrity sha512-KXpWiRksgs+7voUeFHRDeRwo+EzY9PW/WLeFt8NHl2+hP551PoDC56QjXAjcgDgRniWQg6WoOwFsm6u2ajVWow==
dependencies:
chokidar "^3.5.1"
dlv "^1.1.3"
fast-glob "^3.2.5"
lodash.topath "^4.5.2"
object-hash "^2.1.1"
postcss-selector-parser "^6.0.4"
quick-lru "^5.1.1"

"@tailwindcss/typography@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.2.0.tgz"
Expand Down Expand Up @@ -6069,11 +6056,6 @@ object-copy@^0.1.0:
define-property "^0.2.5"
kind-of "^3.0.3"

object-hash@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.1.1.tgz"
integrity sha512-VOJmgmS+7wvXf8CjbQmimtCnEx3IAoLxI3fp2fbWehxrWBcAQFbk+vcwb6vzR0VZv/eNCJ/27j151ZTwqW/JeQ==

object-hash@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.2.0.tgz#5ad518581eefc443bd763472b8ff2e9c2c0d54a5"
Expand Down

0 comments on commit 40d912c

Please sign in to comment.