Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 11 #3052

Closed
wants to merge 28 commits into from
Closed

Version 11 #3052

wants to merge 28 commits into from

Conversation

joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Mar 17, 2021

Changes

This follows the backlog list from #2558. Please see that issue for a
list of changes. Resolves #2558.

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@joshgoebel joshgoebel marked this pull request as draft March 17, 2021 16:55
@joshgoebel joshgoebel self-assigned this Mar 18, 2021
@joshgoebel joshgoebel added this to the 11.0 milestone Mar 18, 2021
Base automatically changed from master to main March 18, 2021 17:26
@joshgoebel joshgoebel marked this pull request as ready for review March 21, 2021 13:11
It's too specific to CSS to be a general rule.
- Use `delphi` instead or add your own aliases
Builds the browser and CDN `highlight.js` as a single unit, as in
Rollup sees the entire dependency tree and can optimize it most
effectively.

Previously we compiled core separately and each languages separately.
The final distributable was then a concatenation of all these
separate builds - meaning that often it could include repeated
code from grammars pulling in the same dependencies (regex libs,
etc.)

The common build (minified) is now 20kb smaller which results
in a 4-5kb reduction in the gzip size.
@joshgoebel joshgoebel force-pushed the version_11 branch 2 times, most recently from 94e8f7f to 78a0453 Compare March 22, 2021 17:49
@joshgoebel joshgoebel closed this Mar 23, 2021
@joshgoebel joshgoebel deleted the version_11 branch March 23, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 11.0 checklist
1 participant