Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to access files from the build inside functions (primarily for ISR and Preview mode) #180

Closed
joelvarty opened this issue Mar 24, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@joelvarty
Copy link

As part of the build process we are storing lots of JSON data in the .next folder.

We'd like to be able to access this folder again as part of the Preview or ISR flow when this same code runs as a function.

Also, is there a /tmp folder we can use as part of the function runtime here?

@lindsaylevine lindsaylevine added the duplicate This issue or pull request already exists label Mar 25, 2021
@lindsaylevine
Copy link

hey @joelvarty! thanks for opening this up. this is a known issue so i'm gonna send us over to that one (#153) and close this one up :). see my last comment there: #153 (comment). i'm happy to direct you towards our temp solution until a greater netlify-wide one is supported!

serhalp pushed a commit that referenced this issue Apr 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* ci: don't retry e2e tests

* wip

* chore: don't copy test files

* fix: normalise data URLs

* Handle rewrites

* Update edge-runtime/lib/response.ts

Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>

---------

Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants