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

Add codemod mode for @glimmer/syntax preparse. #938

Merged
merged 1 commit into from
May 13, 2019

Commits on May 8, 2019

  1. Add codemod mode for @glimmer/syntax preprocess.

    Currently, setting `mode` to `'codemod'` will:
    
    * Disable `entity` parsing in simple-html-tokenizer (ensures that
      parsing + printing is not lossy)
    * Enable `ignoreStandalone` mode in handlebars parser (ensures that
      standalone whitespace after a block opening or closing is not
      stripped).
    
    In the future we can do other things to make the codemod world even
    better, but this is a really good first step (IMHO).
    rwjblue authored and Turbo87 committed May 8, 2019
    Configuration menu
    Copy the full SHA
    458fe54 View commit details
    Browse the repository at this point in the history