Skip to content

[mdx] Bundle size #107

Closed
Closed

Description

@pomber

Two improvements to bundle size:

  • only include the theme once
  • import only the components that are being used

For example, in:

# Hello

```js
function lorem(ipsum) {}
```

```js
function lorem(ipsum) {}
```

The theme should appear only once in the output. Also, unused components (like CH.Spotlight) shouldn't be included in the final bundle.

Activity

  1. added this to the v0.0.3 milestone on Jan 16, 2022
  2. pomber commented on Apr 21, 2022

    @pomber
    ContributorAuthor

    Fixed with #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions