Skip to content

Commit

Permalink
Name default export more appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Dec 21, 2022
1 parent 43a088a commit d4846fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Expand Up @@ -28,7 +28,7 @@ function doSomething(file, path) {
* @param {Options} options
* @returns {import('metalsmith').Plugin}
*/
function initCorePlugin(options) {
function corePlugin(options) {
options = normalizeOptions(options)

return function corePlugin(files, metalsmith, done) {
Expand All @@ -47,4 +47,4 @@ function initCorePlugin(options) {
}
}

export default initCorePlugin
export default corePlugin

0 comments on commit d4846fc

Please sign in to comment.