blob: 0b7a553737db60d5d524f2a1e3125542ca6ab88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/**
* This module replaces markdown-it with an empty function. markdown-it
* is a dependency of the prosemirror-markdown package. prosemirror-markdown
* uses markdown-it to parse markdown and produce an AST. However, the
* features that use prosemirror-markdown in the GitLab application do not
* require markdown parsing.
*
* Replacing markdown-it with this empty function removes unnecessary javascript
* from the production builds.
*/
export default () => {};
|