-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi, will someone provide an example of how to pass options to Linkedin's dust.js? I want to preserve whitespace as documented here
dust API (whitespace anchor)
const vision = require('vision');
const inert = require('inert');
const dust = require('hapi-dust');
server.register([vision, inert], () => {
server.views({
engines: { dust },
relativeTo: __dirname,
path: 'src/views',
partialsPath: 'src/views',
layoutPath: 'src/views',
runtimeOptions: {
whitespace: true,
},
compileOptions: {
whitespace: true,
}
});
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels