Skip to content

Vercel serveless #116

Description

@raulfdm

While trying to implement layerfig on my blog, I've realized that the way layerfig loads the file does not work for serverless.

That's because it expects the config/ files are there but even if we includeFiles all configs, it cannot resolve to that folder specifically.

Ideas

  • check how it resolves file
  • check for root path
  • allow users to specify the entire root folder OR when configFolderPath is defined, only append the file name to this path
  • create a dummy serverless project and host on vercel
    • add some random files
    • include those
    • console.log the folder structure

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions