generated from sofia/eleventy-base
Fix .well-known
This commit is contained in:
parent
eaef940905
commit
7dac6c8e98
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ async function prepareManifest(assetsPath, log = console.log) {
|
|||
if (!HASHED_ASSETS.includes(ext) || process.env.ELEVENTY_RUN_MODE === "serve") {
|
||||
const rel = relative(assetsPath, absPath)
|
||||
assetsManifest[rel] = rel
|
||||
log(`[sofi-assets] Including un-hashed asset: '${relative(assetsPath, absPath)}'`)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -129,6 +130,7 @@ export default async function (eleventyConfig) {
|
|||
const log = eleventyConfig.logger.log.bind(eleventyConfig.logger)
|
||||
|
||||
eleventyConfig.addPassthroughCopy({ "assets/robots.txt": "robots.txt" })
|
||||
eleventyConfig.addPassthroughCopy({ "assets/.well-known": ".well-known" })
|
||||
|
||||
eleventyConfig.addWatchTarget("./assets/")
|
||||
eleventyConfig.on("eleventy.before", async () => {
|
||||
|
|
Loading…
Reference in a new issue