Skip to content

Execution in a Cloud Function #121

Answered by ElMassimo
gilesbutler asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gilesbutler!

Regarding .iles-ssg-temp, you can configure that using tempDir.

loadConfigFromFile is exposed by Vite, and it does create a temporary file when transpiling TypeScript.

Although it's technically possible to support iles.config.js, the resolution process is very complex.

Even if tackling this problem, not being able to write to the filesystem is a limitation that can cause other problems inside Vite.

I'd recommend you experiment by forking iles and adding support for all extensions for iles.config, use iles.config.js or iles.config.mjs, and then see if any other problems come up.

If it turns out everything runs as expected, we can bring the file detection into iles.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gilesbutler
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants