diff --git a/scripts/docs/snippetadapter.js b/scripts/docs/snippetadapter.js index b09164c34a3..b44dcd481d4 100644 --- a/scripts/docs/snippetadapter.js +++ b/scripts/docs/snippetadapter.js @@ -275,7 +275,10 @@ function getWebpackConfig( snippets, config ) { definitions[ definitionKey ] = JSON.stringify( config.definitions[ definitionKey ] ); } - const ckeditorWebpackPluginOptions = {}; + const ckeditorWebpackPluginOptions = { + // All translation files are added to HTML files directly later. + buildAllTranslationsToSeparateFiles: true + }; if ( config.language === MULTI_LANGUAGE ) { const additionalLanguages = new Set(); @@ -331,7 +334,7 @@ function getWebpackConfig( snippets, config ) { } ), new webpack.DefinePlugin( definitions ), new ProgressBarPlugin( { - format: `Building snippets for language "${ config.language }": :percent (:msg)`, + format: `Building snippets for language "${ config.language }": :percent (:msg)` } ) ],