diff --git a/src/Bundle/ChillMainBundle/chill.webpack.config.js b/src/Bundle/ChillMainBundle/chill.webpack.config.js index 0e4924b03..727964779 100644 --- a/src/Bundle/ChillMainBundle/chill.webpack.config.js +++ b/src/Bundle/ChillMainBundle/chill.webpack.config.js @@ -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 + } ) + } } ) ; };