-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi, I'm trying to use your plugin to manage Handlebars templates, but I'm getting the following errors when trying to build my simple app.
src/main.js → build/main.js...
(!) Unresolved dependencies
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency
_testPartial.html (imported by src/client/js/views/message.html)
_testCommonPartial.html (imported by src/client/js/views/message.html)
created build/main.js in 793msI followed your example but it doesn't work for me. You can see sample repo here.
_testPartial.htmlis a simple partial placed next tosrc/client/js/views/message.html_testCommonPartial.htmlis a partial placed insrc/common/views/directory.
Even if I solve the problem of how the rollup resolves modules using relative paths (see below) I start getting an error on runtime.
<!-- src/index.html -->
<div>{{> './_testPartial' }}</div>
<div>{{> '/_testCommonPartial' }}</div>Exceptions:
"Error: The partial ./_testPartial could not be found ...
"Error: The partial ./_testCommonPartial could not be found ...Could you please help me with what I'm doing wrong?
Metadata
Metadata
Assignees
Labels
No labels