-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Discovered while reviewing another PR with @pzuraq, we should be passing the source moduleName in to templateOnly().
For example:
ember-cli-htmlbars/node-tests/colocated-broccoli-plugin-test.js
Lines 46 to 54 in fb0b18a
| components: { | |
| 'foo.js': | |
| stripIndent` | |
| import { hbs } from 'ember-cli-htmlbars'; | |
| const __COLOCATED_TEMPLATE__ = hbs("{{yield}}", {"contents":"{{yield}}","moduleName":"app-name-here/components/foo.hbs","parseOptions":{"srcName":"app-name-here/components/foo.hbs"}}); | |
| import templateOnly from '@ember/component/template-only'; | |
| export default templateOnly();` + '\n', | |
| }, |
Metadata
Metadata
Assignees
Labels
No labels