Skip to content

Snippets not being populated by annotated files in app folder #28

@chrisvdp

Description

@chrisvdp

I have a file call app/templates/snippets/buttons.hbs with the content of

{{!-- BEGIN-SNIPPET buttons --}}
{{#x-button}}
 Test
{{/x-button}}
{{!-- END-SNIPPET --}}

If I put console.log(path.join(destDir, name) + path.extname(filename) + ":"+ snippets[name]); at snippet-finder.js:63 I can see

/Users/cploeg/Web/bootstrap/web-designguide/tmp/snippet_finder-tmp_dest_dir-ojHOLcLw.tmp/buttons.hbs:{{#x-button}}
 Test
{{/x-button}}

But when I run the app I can see that snippet.js is empty

define("web-designguide/snippets", ["exports"], function (exports) {
  exports["default"] = {};
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions