Skip to content

Commit 545a54a

Browse files
committed
netlify config
1 parent 1fa56ce commit 545a54a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

netlify.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
[build]
3+
publish = "out"
4+
command = "npm run output"
5+
6+
[[redirects]]
7+
from = "/examples/*"
8+
to = "/index.html"
9+
status = 200

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"build:js": "rimraf dist/* && rollup -c",
2121
"build:source": "node config/source.js",
2222
"build:aot": "ngc -p config/aot.json",
23-
"output": "npm run build && rimraf out/* && parcel build examples/**/*.html -d out",
23+
"output": "npm run build && rimraf out/* && parcel build examples/index.html examples/*/*.html -d out",
2424
"start": "serve-examples",
2525
"test": "npm run output && jest"
2626
},

0 commit comments

Comments
 (0)