Skip to content

Commit 124c4fa

Browse files
committed
yaml instead
1 parent 857294f commit 124c4fa

File tree

4 files changed

+163
-13
lines changed

4 files changed

+163
-13
lines changed

netlify.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

netlify.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
build:
2+
command: "npm run build"
3+
publish: dist
4+
5+
context.production:
6+
environment: { NODE_VERSION = "10.15.3", NODE_ENV = "production" }
7+
8+
dev:
9+
command: npm run start
10+
publish: dist
11+
port: 3000
12+
targetPort: 8181
13+
NODE_ENV: development
14+
15+
plugins:
16+
- package: "@netlify/plugin-sitemap"
17+
config:
18+
buildDir: dist

package-lock.json

Lines changed: 142 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
"html-minifier": "^4.0.0",
2323
"node-sass": "^4.13.1",
2424
"npm-run-all": "^4.1.5"
25+
},
26+
"devDependencies": {
27+
"@netlify/plugin-sitemap": "^0.1.0"
2528
}
2629
}

0 commit comments

Comments
 (0)