Skip to content

reduce the boundle size #24

@ravenq

Description

@ravenq

the same bug list

#18
#23
#10
#6

reduce

vue-cli-plugin-webpack-bundle-analyzer

图片

图片

1. remove the markdown-it-icons

the plugin bundle is large. use markdown-it-font-awsome instead.

2. reduce the hilight.js lang

the support lang:

  • HTML
  • Json
  • css
  • shell
  • bash
  • C
  • Java
  • Python
  • C++
  • C#
  • PHP
  • SQL
  • R
  • Swift
  • Go
  • MATLAB
  • Ruby
  • Perl
  • Objective-C
  • Rust
  • Dart
  • Delphi
  • D
  • Kotlin
  • Scala
  • SAS
  • Lisp
  • Lua
  • Ada
  • Fortran
  • PowerShell
  • VBScript
  • VBscript-html
  • Groovy
  • Julia
  • Julia-repl
  • LabVIEW
  • Haskell
  • ActionScript
  • Scheme
  • TypeScript
  • F#
  • Prolog
  • Erlang

PR for you lang.

3. use echarts.simple only

the result

图片

图片

markdown-it-vue-light

the light model will remove the mermaid chart supports.

图片

图片

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions