Update tailwindcss

This commit is contained in:
Jonatan Kłosko 2021-04-21 12:15:24 +02:00
parent 136522a4d0
commit 4f80e5f601
4 changed files with 335 additions and 427 deletions

756
assets/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,12 +24,12 @@
"phoenix_live_view": "file:../deps/phoenix_live_view",
"remixicon": "^2.5.0",
"scroll-into-view-if-needed": "^2.2.28",
"tailwindcss": "^2.1.1",
"topbar": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@tailwindcss/jit": "^0.1.1",
"autoprefixer": "^10.2.0",
"babel-loader": "^8.0.0",
"css-loader": "^3.4.2",
@ -43,7 +43,6 @@
"postcss-import": "^14.0.0",
"postcss-loader": "^4.1.0",
"prettier": "^2.2.1",
"tailwindcss": "^2.0.2",
"terser-webpack-plugin": "^2.3.2",
"webpack": "4.41.5",
"webpack-cli": "^3.3.2"

View file

@ -1,7 +1,7 @@
module.exports = {
plugins: {
'postcss-import': {},
'@tailwindcss/jit': {},
tailwindcss: {},
autoprefixer: {},
}
}

View file

@ -1,4 +1,5 @@
module.exports = {
mode: 'jit',
purge: [
'../lib/**/*.ex',
'../lib/**/*.leex',