-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When templateExportDefault: true, I would expect this gjs file:
<template>Hello world</template>to be transformed to
export default <template>Hello world</template>However, this does not happen. The file remains unchanged.
This issue is also shown in the snapshot tests in this repo:
Lines 278 to 281 in 0ceae89
| exports[`config > templateExportDefault: true > it formats ../cases/gjs/simple.gjs 1`] = ` | |
| "<template>what</template> | |
| " | |
| `; |
^^ this assertion should be export default <template>what</template>
π Environment
- prettier-plugin-ember-template-tag version: 2.1.0
cvx
Metadata
Metadata
Assignees
Labels
No labels