Node.JS Static Sites

Hey there! I know that glitch has limit the list of projects that can be “Static Site”. That means no React, EJS, or any templating that uses Node.JS. Is it actually possible to have a toggle button for a Node.JS static site which removes modules that can be abusive on resources such as discord.js, eris, glitch-uptime? Or better, limit the modules to a list that can be used for running Node.JS static sites such as Express, EJS, React.

Thanks!

1 Like

Hey @ElectricReality,

I don’t think EJS and Express are considered as static sites, it’s frameworks like React and Vue which are Node.js static sites, but I would like this feature to be implemented. Also moving this to #feature-ideas!

7 Likes

you could try to prerender the files into html files on your machine