Merge branch 'fix-node-sass' into 'master'

feat: Update webpack and plugins

See merge request mythic-insight/legendary!81
This commit is contained in:
Robert Prehn 2021-06-29 03:52:32 +00:00
commit 3b5cd53552
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", "phoenix_live_view": "file:../../../deps/phoenix_live_view",
"postcss-color-function": "^4.1.0", "postcss-color-function": "^4.1.0",
"simplemde": "^1.11.2", "simplemde": "^1.11.2",
"stylelint": "^13.6.1",
"tailwindcss": "^1.7.3", "tailwindcss": "^1.7.3",
"topbar": "^1.0.1" "topbar": "^1.0.1"
}, },
@ -36,11 +35,12 @@
"mini-css-extract-plugin": "^1.6.2", "mini-css-extract-plugin": "^1.6.2",
"postcss-css-variables": "^0.17.0", "postcss-css-variables": "^0.17.0",
"postcss-import": "^12.0.1", "postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0", "postcss-loader": "^6.1.0",
"sass": "^1.35.1", "sass": "^1.35.1",
"sass-loader": "^8.0.2", "sass-loader": "^8.0.2",
"style-loader": "^1.2.1", "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", "stylelint-order": "^4.1.0",
"terser-webpack-plugin": "^2.3.2", "terser-webpack-plugin": "^2.3.2",
"webpack": "^5.1.0", "webpack": "^5.1.0",

View file

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