mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Deploy: update webpack config for postcss loader and ckeditor
This commit is contained in:
parent
516e4e5f47
commit
a10aae2100
@ -26,12 +26,15 @@ buildCKEditor = function(encore)
|
|||||||
.addLoader({
|
.addLoader({
|
||||||
test: /ckeditor5-[^/\\]+[/\\]theme[/\\].+\.css$/,
|
test: /ckeditor5-[^/\\]+[/\\]theme[/\\].+\.css$/,
|
||||||
loader: 'postcss-loader',
|
loader: 'postcss-loader',
|
||||||
options: styles.getPostCssConfig( {
|
options:
|
||||||
themeImporter: {
|
{
|
||||||
|
postcssOptions: styles.getPostCssConfig( {
|
||||||
|
themeImporter: {
|
||||||
themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
|
themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
|
||||||
},
|
},
|
||||||
minify: true
|
minify: true
|
||||||
} )
|
} )
|
||||||
|
}
|
||||||
} )
|
} )
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user