build-config.js 709 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* jshint browser: false, node: true, strict: true */
  2. 'use strict';
  3. /**
  4. * @see https://github.com/ckeditor/ckeditor5-dev-bundler-rollup/issues/37 for config options
  5. */
  6. module.exports = {
  7. // Specify path where bundled editor will be saved.
  8. destinationPath: './build/dist/',
  9. editor: 'editor-classic/classic',
  10. // List of plugins.
  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. };