Skip to content

Add possibility to pass options#99

Open
Falke-Design wants to merge 1 commit into
sagold:masterfrom
Falke-Design:feat/pass-options
Open

Add possibility to pass options#99
Falke-Design wants to merge 1 commit into
sagold:masterfrom
Falke-Design:feat/pass-options

Conversation

@Falke-Design
Copy link
Copy Markdown

new HandlebarsPlugin({
            entry: path.join(process.cwd(), "html", "*.hbs"),
            output: path.join(process.cwd(), "dist", "[name].html"),
            data: path.join(process.cwd(), "data", "data.json"),
            options: {
                        strict: true
            }
})

https://handlebarsjs.com/api-reference/compilation.html#handlebars-compile-template-options

@xavierfoucrier xavierfoucrier added the feature feature request to implement label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature feature request to implement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants