11ty / eleventy-plugin-template-languages

Official template syntax plugins for Eleventy
MIT License
2 stars 1 forks source link

Use Handlebars partials from other package #6

Open BregtDeLange opened 4 years ago

BregtDeLange commented 4 years ago

I have some private npm package that contains Handlebars partials, which I want to directly use these partials in my Eleventy website, and had hoped that I could reference them from the installed package into a page. But since they're not part of the "includes" folder, it's impossible for Handlebars (on the documentation I see relative paths are possible for other template engines, or is this a different something).

I'm a bit lost on how to tackle this. Any idea how I could solve this, without the need for a copy script? There's no array for the "includes" option on the eleventyConfig.