Skip to content

Commit 3cea60a

Browse files
authored
Merge pull request #8 from netlify/tzm/changeMainjsTooIndexjs
Changes src/main.js to index.js to match docs
2 parents 0e7360a + 8a64bee commit 3cea60a

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ modified.
5454
npm run ava
5555
```
5656

57-
Runs [unit tests](/test/main.js).
57+
Runs [unit tests](/test/index.js).
5858

5959
```bash
6060
npm run lint

README.md

+1-1
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

package.json

+1-1
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.
File renamed without changes.

0 commit comments

Comments
 (0)