File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ You can also add a
38
38
39
39
# Usage
40
40
41
- The plugin's logic should be added to [ ` ./src/main .js ` ] ( /src/main .js ) . Comments
41
+ The plugin's logic should be added to [ ` ./src/index .js ` ] ( /src/index .js ) . Comments
42
42
in that file will guide you through the creation of a Build plugin.
43
43
44
44
## Development tasks
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const { exit } = require('process')
5
5
const yargs = require ( 'yargs' )
6
6
const filterObj = require ( 'filter-obj' )
7
7
8
- const { init } = require ( './main .js' )
8
+ const { init } = require ( './index .js' )
9
9
const { VARIABLES } = require ( './variables/main.js' )
10
10
11
11
// CLI entry point of `npm run init`
Original file line number Diff line number Diff line change 2
2
"name" : " netlify-plugin-example" ,
3
3
"version" : " 0.0.1" ,
4
4
"description" : " Netlify Build plugin - {{description}}" ,
5
- "main" : " src/main .js" ,
5
+ "main" : " src/index .js" ,
6
6
"files" : [
7
7
" src" ,
8
8
" !*~"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments