-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Bug] Unexpected token error on route files #173
Comments
The plugin as written doesn't expect |
|
Confirmed fixed by #162. Test added here: #188 NOTE that the output currently has a comma, which makes sense since in the current implementation, it's a function argument. If this is the syntax that ends up sticking, we might want to special case it. output (copy-pasta'ed from snapshot so has some extra escaping): import Layout from \\"docs-app/components/layout\\";
import pageTitle from \\"ember-page-title/helpers/page-title\\";
import Route from \\"ember-route-template\\";
export default Route(
<template>
{{pageTitle \\"ember-primitives\\"}}
<Layout />
</template>,
); |
🐞 Describe the Bug
Error:
Input
🔬 Minimal Reproduction
the above file
this config:
😕 Actual Behavior
error
🤔 Expected Behavior
no error
🌍 Environment
The text was updated successfully, but these errors were encountered: