mirror of
https://github.com/dillonkearns/elm-pages.git
synced 2024-10-26 10:27:36 +03:00
Add netlify.toml config file.
This commit is contained in:
parent
6230e101d4
commit
1efa1df106
@ -7,6 +7,7 @@
|
||||
"start": "concurrently \"npm:watch\" \"parcel src/index.html\"",
|
||||
"start:prod": "npm run build && http-server ./dist -a localhost -p 3000 -c-1",
|
||||
"build": "rm -rf dist && parcel build src/index.html",
|
||||
"build:manifest": "parcel build src/js/generate-manifest.ts --out-file generate-manifest.js --target node --bundle-node-modules --no-source-maps && node ./dist/generate-manifest.js",
|
||||
"test": "elm-test",
|
||||
"autotest": "elm-test --watch"
|
||||
},
|
||||
|
4
netlify.toml
Normal file
4
netlify.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[build]
|
||||
base = "examples/docs/"
|
||||
publish = "examples/docs/dist/"
|
||||
command = "npm run build && npm run build:manifest"
|
Loading…
Reference in New Issue
Block a user