-
Notifications
You must be signed in to change notification settings - Fork 30k
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
tools: fix highlight.js and without-intl compatibility #41086
Conversation
This comment has been minimized.
This comment has been minimized.
c45968b
to
844aaf4
Compare
This comment has been minimized.
This comment has been minimized.
OK, this is now fixed and running in CI. |
This comment has been minimized.
This comment has been minimized.
The message from the first commit should be reworded -- we were not loading/registering the languages until this PR. |
Importing everything from highlight.js won't work in without-intl builds. Import only core and register only the languages we need. Fixes: nodejs#41077
844aaf4
to
4613506
Compare
Thanks. I reworded it. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I won't block this because the work was already done, but in my opinion, we are not supposed to make every supported build option work with everything. Building the Node.js docs is certainly not a use case for the build without Intl. |
You might prefer #41091. |
#41091 landed instead, so closing this. |
Fixes: #41077