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

Added getDialectByNameOrAlias and converted repo to use it. #5142

Merged
merged 1 commit into from
Apr 22, 2022

Commits on Apr 22, 2022

  1. Added getDialectByNameOrAlias and converted repo to use it.

    Previous this repo has imported Dialect objects via dynamically generating
    a string to require. This does not work well with compilers like ncc. To
    solve this and make for a better development experience we add the function
    `getDialectByNameOrAlias` to safely import Dialects while making requirement
    paths static for better compiler and bundler experiences.
    code-ape committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    477bfb4 View commit details
    Browse the repository at this point in the history