Skip to content

requireLanguage deprecation #7

@joshgoebel

Description

@joshgoebel

highlightjs/highlight.js#2844 (review)

Something you should look out for in the future... may want to switch back to getLanguage or write your own if you need the specific "blow up" error behavior. We're recommending build-time dependencies now rather than runtime... IE you'd use a ES6 module module to just import the dependency. See javascript.js and ecmascript.js, for examples.

As long as you're using the 3rd party build process you should be able to do this also.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions