diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..a06a557 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,9 @@ +[[plugins]] +package = "netlify-plugin-cache" + + [plugins.inputs] + paths = [ ".cache" ] + +[build] + publish = "dist/" + command = "npm run build" diff --git a/package.json b/package.json index 6a5859e..0990669 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "scripts": { "debug": "DEBUG=Eleventy* eleventy --serve --watch", "dev": "eleventy --serve --watch", - "lint": "eslint src/ config/" + "lint": "eslint src/ config/", + "build": "eleventy" }, "devDependencies": { "@11ty/eleventy": "^2.0.1",