Skip to content

Commit 6f34422

Browse files
authored
Merge pull request #9 from ehmicky/chore/remove-top-level-function
2 parents 6b90978 + 56bd615 commit 6f34422

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

plugin/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ const chalk = require('chalk');
77
const path = require('path');
88
const pluginCore = require('./pluginCore');
99

10-
function netlifyPlugin(conf) {
11-
return {
10+
module.exports = {
1211
name: 'netlify-plugin-a11y',
1312
async onPostBuild({
1413
inputs: { checkPaths, resultMode, debugMode },
@@ -67,7 +66,4 @@ function netlifyPlugin(conf) {
6766
}
6867
}
6968
}
70-
};
7169
}
72-
73-
module.exports = netlifyPlugin;

0 commit comments

Comments
 (0)