Skip to content

Commit

Permalink
feat(sails-hook-content): pass the content config to pluginSailsContent
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Jan 16, 2024
1 parent 9a7e141 commit 4ef4acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sails-hook-content/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function defineSailsContentHook(sails) {
sails.log.info('Initializing custom hook (`sails-content`)')
if (sails.config.content.output == 'static') {
sails.config.shipwright.build.plugins.push(
pluginSailsContent({ inputDir: sails.config.content.inputDir })
pluginSailsContent(sails.config.content)
)
}
}
Expand Down

0 comments on commit 4ef4acd

Please sign in to comment.