feat: add netlify configuration
This commit is contained in:
parent
51ed2729c3
commit
2cdc76cae0
2 changed files with 11 additions and 1 deletions
9
netlify.toml
Normal file
9
netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[[plugins]]
|
||||||
|
package = "netlify-plugin-cache"
|
||||||
|
|
||||||
|
[plugins.inputs]
|
||||||
|
paths = [ ".cache" ]
|
||||||
|
|
||||||
|
[build]
|
||||||
|
publish = "dist/"
|
||||||
|
command = "npm run build"
|
|
@ -8,7 +8,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"debug": "DEBUG=Eleventy* eleventy --serve --watch",
|
"debug": "DEBUG=Eleventy* eleventy --serve --watch",
|
||||||
"dev": "eleventy --serve --watch",
|
"dev": "eleventy --serve --watch",
|
||||||
"lint": "eslint src/ config/"
|
"lint": "eslint src/ config/",
|
||||||
|
"build": "eleventy"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1",
|
"@11ty/eleventy": "^2.0.1",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue