Skip to content

Commit

Permalink
Use module mount instead of symlink
Browse files Browse the repository at this point in the history
Symlinks are forbidden in CloudFlare Pages
  • Loading branch information
s10 committed Apr 19, 2024
1 parent d544b2c commit ac9372c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
37 changes: 37 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,43 @@
"static"
],

"module": {
"mounts": [
{
"source": "content",
"target": "content"
},
{
"source": "static",
"target": "static"
},
{
"source": "layouts",
"target": "layouts"
},
{
"source": "data",
"target": "data"
},
{
"source": "assets",
"target": "assets"
},
{
"source": "i18n",
"target": "i18n"
},
{
"source": "archetypes",
"target": "archetypes"
},
{
"source": "art",
"target": "static/art"
}
]
},

"markup": {
"goldmark": {
"extensions": {
Expand Down
1 change: 0 additions & 1 deletion static/art

This file was deleted.

0 comments on commit ac9372c

Please sign in to comment.