Deploy: update webpack config for postcss loader and ckeditor

This commit is contained in:
Julien Fastré 2022-12-06 22:27:27 +01:00
parent 516e4e5f47
commit a10aae2100
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -26,12 +26,15 @@ buildCKEditor = function(encore)
.addLoader({
test: /ckeditor5-[^/\\]+[/\\]theme[/\\].+\.css$/,
loader: 'postcss-loader',
options: styles.getPostCssConfig( {
themeImporter: {
options:
{
postcssOptions: styles.getPostCssConfig( {
themeImporter: {
themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
},
minify: true
} )
},
minify: true
} )
}
} )
;
};