Skip to content

Commit 13c74df

Browse files
committed
changes src/main.js to index.js
1 parent 63e456f commit 13c74df

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can also add a
3838

3939
# Usage
4040

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
4242
in that file will guide you through the creation of a Build plugin.
4343

4444
## Development tasks

init/bin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { exit } = require('process')
55
const yargs = require('yargs')
66
const filterObj = require('filter-obj')
77

8-
const { init } = require('./main.js')
8+
const { init } = require('./index.js')
99
const { VARIABLES } = require('./variables/main.js')
1010

1111
// CLI entry point of `npm run init`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "netlify-plugin-example",
33
"version": "0.0.1",
44
"description": "Netlify Build plugin - {{description}}",
5-
"main": "src/main.js",
5+
"main": "src/index.js",
66
"files": [
77
"src",
88
"!*~"
File renamed without changes.

0 commit comments

Comments
 (0)