|
|
@@ -1,31 +1,34 @@
|
|
|
/* jshint browser: false, node: true, strict: true */
|
|
|
'use strict';
|
|
|
|
|
|
+/**
|
|
|
+ * @see https://github.com/ckeditor/ckeditor5-dev-bundler-rollup/issues/37 for config options
|
|
|
+ */
|
|
|
module.exports = {
|
|
|
- // Name of CKEditor instance exposed as global variable by a bundle.
|
|
|
- moduleName: 'ClassicEditor',
|
|
|
-
|
|
|
// Specify path where bundled editor will be saved.
|
|
|
destinationPath: './build/dist/',
|
|
|
|
|
|
editor: 'editor-classic/classic',
|
|
|
|
|
|
+ // List of plugins.
|
|
|
+ plugins: [
|
|
|
+ 'autoformat',
|
|
|
+ 'basic-styles/bold',
|
|
|
+ 'basic-styles/italic',
|
|
|
+ 'clipboard',
|
|
|
+ 'enter',
|
|
|
+ 'heading',
|
|
|
+ 'image',
|
|
|
+ 'link',
|
|
|
+ 'list',
|
|
|
+ 'paragraph',
|
|
|
+ 'typing',
|
|
|
+ 'undo'
|
|
|
+ ],
|
|
|
+
|
|
|
rollupOptions: {
|
|
|
- // List of plugins.
|
|
|
- plugins: [
|
|
|
- 'autoformat',
|
|
|
- 'basic-styles/bold',
|
|
|
- 'basic-styles/italic',
|
|
|
- 'clipboard',
|
|
|
- 'enter',
|
|
|
- 'heading',
|
|
|
- 'image',
|
|
|
- 'link',
|
|
|
- 'list',
|
|
|
- 'paragraph',
|
|
|
- 'typing',
|
|
|
- 'undo'
|
|
|
- ],
|
|
|
+ // Name of CKEditor instance exposed as global variable by a bundle.
|
|
|
+ moduleName: 'ClassicEditor',
|
|
|
|
|
|
// The format of the generated bundle.
|
|
|
format: 'iife',
|