create-entry-file.js 460 B

123456789101112131415161718
  1. #!/usr/bin/env node
  2. /**
  3. * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  4. * For licensing, see LICENSE.md.
  5. */
  6. 'use strict';
  7. const path = require( 'path' );
  8. const { bundler } = require( '@ckeditor/ckeditor5-dev-utils' );
  9. const buildConfig = require( '../build-config' );
  10. console.log( 'Creating the entry file...' );
  11. bundler.createEntryFile( path.join( 'src', 'ckeditor.js' ), buildConfig );
  12. console.log( 'Done.' );