Parcourir la source

The cwd option was removed because the configs don't have to have the module resolution configured - we can use the defaults.

Piotrek Koszuliński il y a 8 ans
Parent
commit
203f467256
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      packages/ckeditor5-build-classic/bin/build.js

+ 0 - 2
packages/ckeditor5-build-classic/bin/build.js

@@ -24,9 +24,7 @@ bundler.createEntryFile( entryPoint, './config-editor', {
 } );
 
 const packageRoot = path.join( __dirname, '..' );
-const ckeditor5Root = path.join( packageRoot, '..', '..' );
 const webpackParams = {
-	cwd: ckeditor5Root,
 	entryPoint: path.join( packageRoot, entryPoint ),
 	destinationPath: path.join( packageRoot, buildConfig.destinationPath )
 };