diff --git a/package.json b/package.json index 951a360bf..1ed2f3d24 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/postcss.config.js b/postcss.config.js index 103bcfc89..b8eedeef1 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -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'), ], }) diff --git a/tailwind.config.js b/tailwind.config.js index 840ef7eae..1e6fdee7b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,7 @@ const colors = require('tailwindcss/colors') module.exports = { + mode: 'jit', purge: [ './src/**/*.js', './src/**/*.cljs', diff --git a/yarn.lock b/yarn.lock index 42b079530..472e6a64e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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" @@ -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"