feat: Update webpack and plugins

This commit is contained in:
Robert Prehn 2021-06-28 22:50:16 -05:00
parent 391da666dc
commit 9f294d3fa5
3 changed files with 7123 additions and 6243 deletions

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,6 @@
"phoenix_live_view": "file:../../../deps/phoenix_live_view",
"postcss-color-function": "^4.1.0",
"simplemde": "^1.11.2",
"stylelint": "^13.6.1",
"tailwindcss": "^1.7.3",
"topbar": "^1.0.1"
},
@ -36,11 +35,12 @@
"mini-css-extract-plugin": "^1.6.2",
"postcss-css-variables": "^0.17.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-loader": "^6.1.0",
"sass": "^1.35.1",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"stylelint-config-standard": "^20.0.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint-order": "^4.1.0",
"terser-webpack-plugin": "^2.3.2",
"webpack": "^5.1.0",

View file

@ -2,7 +2,17 @@ module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
purge: [],
purge: {
enabled: true,
layers: ['base', 'components', 'utilities'],
content: [
'../../../**/views/*.ex',
'../../../**/*.html.eex',
'../../../**/*.html.leex',
'../../../**/*.html.heex',
'./js/**/*.js'
]
},
theme: {
extend: {},
},