You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow setting a folder to get copied over. Then people could use SQLITE which is currently not compatible with NEXTJS.
The only real way to do things right now that does not have the 6x amplification: put your files (like your sqlite file or json files) in the public directory. Yikes. Definitely turn off directory listings. And put files in a long confusing directory name. So long as no one can figure that out... Yikes
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
Since there is still no answer to this discussion for four years, I used this kind of solution:
And in code that needs to load a json file found there:
When I put a dummy file a folder and search for its contents, I find six (6) copies. This is 200MB of json, so 200*6 tries to get deployed. Haha.
❯ grep -r "zbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbz" .next Binary file .next/cache/webpack/client-production/0.pack matches Binary file .next/cache/webpack/edge-server-production/0.pack matches Binary file .next/cache/webpack/server-production/0.pack matches .next/server/chunks/data/generated-gz/aghghghghghghghghghghga:zbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbz .next/server/data/generated-gz/aghghghghghghghghghghga:zbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbz .next/data/generated-gz/aghghghghghghghghghghga:zbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbnbz
Proposal
Allow setting a folder to get copied over. Then people could use SQLITE which is currently not compatible with NEXTJS.
The only real way to do things right now that does not have the 6x amplification: put your files (like your sqlite file or json files) in the public directory. Yikes. Definitely turn off directory listings. And put files in a long confusing directory name. So long as no one can figure that out... Yikes
Beta Was this translation helpful? Give feedback.
All reactions