Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 1fe7f09

Browse files
authored
Merge pull request #40 from ckeditor/t/ckeditor5/724
Other: Unify the `getPostCssConfig()` import from `@ckeditor/ckeditor5-dev-utils` package. See ckeditor/ckeditor5#724.
2 parents f6cab12 + d9c50fa commit 1fe7f09

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

webpack.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
const path = require( 'path' );
1111
const webpack = require( 'webpack' );
12-
const { bundler } = require( '@ckeditor/ckeditor5-dev-utils' );
13-
const { getPostCssConfig } = require( '@ckeditor/ckeditor5-dev-utils' ).styles;
12+
const { bundler, styles } = require( '@ckeditor/ckeditor5-dev-utils' );
1413
const CKEditorWebpackPlugin = require( '@ckeditor/ckeditor5-dev-webpack-plugin' );
1514
const BabiliPlugin = require( 'babel-minify-webpack-plugin' );
1615
const buildConfig = require( './build-config' );
@@ -60,7 +59,7 @@ module.exports = {
6059
},
6160
{
6261
loader: 'postcss-loader',
63-
options: getPostCssConfig( {
62+
options: styles.getPostCssConfig( {
6463
themeImporter: {
6564
themePath: require.resolve( '@ckeditor/ckeditor5-theme-lark' )
6665
},

0 commit comments

Comments
 (0)