You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if I try to set the parcel build target to "index.hbs" (which compiles to HTML using parcel-plugin-handlebars), there is no index.html file that renders and I get a 404 when I try to browse the served site.
The text was updated successfully, but these errors were encountered:
Just to be clear, the use case of this plugin is precompilation of handlebars template into javascript file which exports a template function. This template function can be imported and used in other scripts. So by design there isn't produced any .html file.
The issue is that when this plugin is used in conjunction with parcel-plugin-handlebars (a separate plugin), it breaks the behaviour of parcel-plugin-handlebars, which produces .html files from an .hbs files.
My guess is that parcel-plugin-handlebars-precompile intercepts the .hbs files before they get to parcel-plugin-handlebars and prevents it from seeing them somehow? I don't really know what happens in Parcel behind the scenes – but it would be good to make the two plugins compatible somehow.
Currently, if I try to set the parcel build target to "index.hbs" (which compiles to HTML using parcel-plugin-handlebars), there is no index.html file that renders and I get a 404 when I try to browse the served site.
The text was updated successfully, but these errors were encountered: