feat: add netlify configuration

This commit is contained in:
Devin Haska 2024-02-20 22:42:41 -08:00
parent 51ed2729c3
commit 2cdc76cae0
2 changed files with 11 additions and 1 deletions

9
netlify.toml Normal file
View file

@ -0,0 +1,9 @@
[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [ ".cache" ]
[build]
publish = "dist/"
command = "npm run build"

View file

@ -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",