Pass all config in constructor
Author: kievechuaCreated Mar 2, 2017Updated Nov 19, 2021
Labelsenhancementdiscussionto revisit
Is there a plan to pass config as following?
var Metalsmith = require('metalsmith');
Metalsmith({
"source": "src",
"destination": "build",
"plugins": [
{"metalsmith-drafts": true},
{"metalsmith-markdown": true},
{"metalsmith-permalinks": "posts/:title"},
{"metalsmith-templates": "handlebars"}
]
})
.build()Source: metalsmith/metalsmith