Przeglądaj źródła

Adjusted build script to the latest changes in "ckeditor5-dev-webpack-utils".

Kamil Piechaczek 8 lat temu
rodzic
commit
12519dfbe9
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      packages/ckeditor5-build-classic/bin/build.js

+ 4 - 4
packages/ckeditor5-build-classic/bin/build.js

@@ -32,14 +32,14 @@ const webpackParams = {
 	entryPoint: path.join( packageRoot, entryPoint ),
 	destinationPath: path.join( packageRoot, buildConfig.destinationPath )
 };
-const webpackES6Config = webpackUtils.getWebpackES6Config( webpackParams );
 const webpackConfig = webpackUtils.getWebpackConfig( webpackParams );
+const webpackCompactConfig = webpackUtils.getWebpackCompactConfig( webpackParams );
 
-log.info( `Creating the "ES5" and "ES6" builds...` );
+log.info( `Creating the "ES6" and "Compact" builds...` );
 
 Promise.all( [
-		runWebpack( webpackES6Config ).then( () => log.info( 'The "ES6" build has been created.' ) ),
-		runWebpack( webpackConfig ).then( () => log.info( 'The "ES5" build has been created.' ) )
+		runWebpack( webpackConfig ).then( () => log.info( 'The "ES6" build has been created.' ) ),
+		runWebpack( webpackCompactConfig ).then( () => log.info( 'The "Compact" build has been created.' ) )
 	] )
 	.then( () => {
 		log.info( 'Finished.' );