Skip to content

Build time takes to long even using few features #32

@CaioGrossi

Description

@CaioGrossi

Hi, Im using the plugin in a project but Im having a issue: build takes to long.

My config:

  ckeditor: {
    enabled: true,
    config: {
      plugin: {
        styles: ` // styles applied to editor container `,
      },
      editor: {
        toolbar: {
          items: [
            "paragraph",
            "|",
            "bold",
            "italic",
            "fontColor",
            "fontBackgroundColor",
            "underline",
            "fontSize",
            "removeFormat",
          ],
        },
        fontColor: {
          columns: 5,
          documentColors: 10,
        },
        fontBackgroundColor: {
          columns: 5,
          documentColors: 10,
        },
        heading: {
          options: [
            {
              model: "paragraph",
              title: "Paragraph",
              class: "ck-heading_paragraph",
            },
            {
              model: "heading1",
              view: "h1",
              title: "Heading 1",
              class: "ck-heading_heading1",
            },
            {
              model: "heading2",
              view: "h2",
              title: "Heading 2",
              class: "ck-heading_heading2",
            },
            {
              model: "heading3",
              view: "h3",
              title: "Heading 3",
              class: "ck-heading_heading3",
            },
            {
              model: "heading4",
              view: "h4",
              title: "Heading 4",
              class: "ck-heading_heading4",
            },
            {
              model: "heading5",
              view: "h5",
              title: "Heading 5",
              class: "ck-heading_heading5",
            },
            {
              model: "heading6",
              view: "h6",
              title: "Heading 6",
              class: "ck-heading_heading6",
            },
            {
              model: "h1b",
              view: { name: "h1", classes: "ck-heading_h1_b" },
              title: "H1 (border)",
              class: "ck-heading_heading1",
              converterPriority: "high",
            },
            {
              model: "h2b",
              view: { name: "h2", classes: "ck-heading_h2_b" },
              title: "H2 (border)",
              class: "ck-heading_heading2",
              converterPriority: "high",
            },
            {
              model: "h3b",
              view: { name: "h3", classes: "ck-heading_h3_b" },
              title: "H3 (border)",
              class: "ck-heading_heading3",
              converterPriority: "high",
            },
            {
              model: "custom",
              view: { name: "custom", classes: "Heading 1" },
              title: "custom",
              class: "ck-heading_heading3",
              converterPriority: "high",
            },
          ],
        },
      },
    },
  },

Im using just a few features, but the build time is the same. Is there a way to fix it? Reduce the build time based on the features that Im using?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions