I used npm to make a website, but I don’t need to run a node server to run the site – it is static since all I have to do is open the index.html and I get all my functionality (lots of clientside js). So when I connect the repo with this site I want DO to detect that the site is static so I don’t have to pay to host it. But static/start plan is not an option.
How does the app creation process determine whether the source I’m providing is static? Is it because there’s a package.json file that it assumes I must need to run a node server in order to serve the website? What am I missing?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!