v32.0.0 package and webpack updates, node 12 -> 14

This commit is contained in:
Tony Narlock 2022-02-07 15:37:29 -06:00
parent b52255ebbb
commit 76d6a39aaf
2 changed files with 17 additions and 11 deletions

View File

@ -10,6 +10,10 @@
"ckeditor5-plugin", "ckeditor5-plugin",
"ckeditor5-math" "ckeditor5-math"
], ],
"resolutions": {
"postcss-loader": "^4.0.0",
"mini-css-extract-plugin": "2.4.2"
},
"dependencies": { "dependencies": {
"@ckeditor/ckeditor5-clipboard": "^32.0.0", "@ckeditor/ckeditor5-clipboard": "^32.0.0",
"@ckeditor/ckeditor5-core": "^32.0.0", "@ckeditor/ckeditor5-core": "^32.0.0",
@ -34,16 +38,16 @@
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"husky": "^4.2.5", "husky": "^4.2.5",
"lint-staged": "^10.2.6", "lint-staged": "^10.2.6",
"mini-css-extract-plugin": "^1.6.0", "mini-css-extract-plugin": "^2.4.2",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"stylelint": "^13.5.0", "stylelint": "^13.5.0",
"stylelint-config-ckeditor5": "^2.0.1", "stylelint-config-ckeditor5": "^2.0.1",
"webpack": "^5.36.2", "webpack": "^5.58.1",
"webpack-cli": "^4.6.0", "webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"engines": { "engines": {
"node": ">=12.0.0", "node": ">=14.0.0",
"npm": ">=5.7.1" "npm": ">=5.7.1"
}, },
"author": "Sauli Anto", "author": "Sauli Anto",

View File

@ -44,14 +44,16 @@ module.exports = {
"css-loader", "css-loader",
{ {
loader: "postcss-loader", loader: "postcss-loader",
options: styles.getPostCssConfig({ options: {
themeImporter: { postcssOptions: styles.getPostCssConfig({
themePath: require.resolve( themeImporter: {
"@ckeditor/ckeditor5-theme-lark" themePath: require.resolve(
), "@ckeditor/ckeditor5-theme-lark"
}, ),
minify: true, },
}), minify: true,
}),
},
}, },
], ],
}, },