DEV Community

Discussion on: I developed a tool for developers. What now?

Collapse
 
svedova profile image
Savas Vedova

Hello Hamida,

So I have forked your repository to understand what really happened.

From what I can see, you have modified the build settings (which is awesome), and updated the dist folder and also specified an entry file. From the way you have used the app, I got one more feedback :) The entry file is supposed to be the entry file for a server file but I believe it's understood as the entry file for the app. If you specify this, it will enable server side functionality. If you don't enable and leave this empty, it will simply serve the site from the CDN (no server side functionality). But obviously you can't know this because it's written nowhere. Tomorrow I will add some documentation to the config page so that it's more understandable.

The entry file you have specified exports a function, and that function was supposed to be an async function. So I extended the deploy api and now it also handles sync functions.

Here is the a deploy that worked for me: mhuysmeutdyjaara13dlxpmmytkl4kp9-2...

If you re-deploy your site it should just work.

Again, a million thanks for your feedback and trying it out. It helped me a lot.

Collapse
 
haamida profile image
Hamida

Glad that I helped