build-config.js 717 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /* jshint browser: false, node: true, strict: true */
  6. 'use strict';
  7. module.exports = {
  8. // Specify path where bundled editor will be saved.
  9. destinationPath: './build/dist/',
  10. editor: 'editor-classic/classic',
  11. plugins: [
  12. 'autoformat',
  13. 'basic-styles/bold',
  14. 'basic-styles/italic',
  15. 'clipboard',
  16. 'enter',
  17. 'heading',
  18. 'image',
  19. 'link',
  20. 'list',
  21. 'paragraph',
  22. 'typing',
  23. 'undo'
  24. ],
  25. rollupOptions: {
  26. // Name of CKEditor instance exposed as global variable by a bundle.
  27. moduleName: 'ClassicEditor',
  28. // The format of the generated bundle.
  29. format: 'iife',
  30. }
  31. };