samrith-s / parcel-plugin-structurize

A plugin to customize the output (dist) directory structure during production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin does not transform links in .hbs files

TheComputerM opened this issue · comments

This plugin does not transform entry points other than files with .html extension. I am using parcel-plugin-handlebars and the links in the transformed .hbs files still point to root.

Hmm, that's a difficult conundrum. I may add support for this in the future. I am thinking of completely rewriting this in v2 and providing more configuration options to the user.

Unfortunately, that is a little while away. Until then, you will have to bear with me. 😢

You can add an option to change links in specified files only, this can also add support for react and vue

Yep, the plan is to add a new field which will be a glob. So you can specify something like:

"baseFiles": "{.vue,.html,.hbs}"
commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.