Skip to content

Commit 36ca510

Browse files
committed
Update dependencies
1 parent bbf1e84 commit 36ca510

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "textpattern-default-theme",
33
"title": "Default theme",
44
"txp-type": "textpattern-theme",
5-
"version": "4.8.5",
5+
"version": "4.8.6",
66
"description": "The default theme that ships as standard with Textpattern CMS.",
77
"author": "Team Textpattern",
88
"homepage": "https://github.com/textpattern/textpattern-default-theme",
@@ -25,21 +25,22 @@
2525
"url": "https://github.com/textpattern/textpattern-default-theme/issues"
2626
},
2727
"devDependencies": {
28-
"autoprefixer": "9.8.6",
28+
"autoprefixer": "10.2.6",
2929
"clean-webpack-plugin": "3.0.0",
30-
"copy-webpack-plugin": "7.0.0",
30+
"copy-webpack-plugin": "9.0.0",
3131
"cross-env": "7.0.3",
32-
"css-loader": "5.0.1",
33-
"mini-css-extract-plugin": "1.3.3",
34-
"postcss-loader": "3.0.0",
35-
"sass": "1.30.0",
36-
"sass-loader": "10.1.0",
37-
"stylelint": "13.8.0",
32+
"css-loader": "5.2.6",
33+
"mini-css-extract-plugin": "1.6.0",
34+
"postcss": "8.3.0",
35+
"postcss-loader": "5.3.0",
36+
"sass": "1.34.0",
37+
"sass-loader": "11.1.1",
38+
"stylelint": "13.13.1",
3839
"stylelint-order": "4.1.0",
39-
"stylelint-scss": "3.18.0",
40+
"stylelint-scss": "3.19.0",
4041
"stylelint-webpack-plugin": "2.1.1",
41-
"webpack": "5.11.0",
42-
"webpack-cli": "4.2.0",
42+
"webpack": "5.38.1",
43+
"webpack-cli": "4.7.0",
4344
"webpack-manifest-version-sync-plugin": "0.0.4"
4445
},
4546
"browserslist": [

webpack.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
88
const StyleLintPlugin = require('stylelint-webpack-plugin');
99

1010
module.exports = {
11+
mode: 'production',
1112
entry: {
1213
'styles/default.css': './src/scss/default.scss'
1314
},
@@ -30,7 +31,11 @@ module.exports = {
3031
{
3132
loader: 'postcss-loader',
3233
options: {
33-
plugins: [require('autoprefixer')],
34+
postcssOptions: {
35+
plugins: [
36+
'autoprefixer',
37+
],
38+
},
3439
},
3540
},
3641
{

0 commit comments

Comments
 (0)