sintaxi / harp

Static Web Server/Generator/Bundler
http://harpjs.com
5k stars 343 forks source link

i hope this feature #671

Open gintering1000 opened 2 years ago

gintering1000 commented 2 years ago

may i ask you this feature~

01. i am asking data ( json ) file serving optionally

example > npx harp -h 192.168.0.1 -p 8000 [ -d test.json or ./data/ ] ./

02. id like to use this cli with original file type like php.

normally php use php extention on url ( ex > https://localhost/index.php ) how about user can choose url type with [ harp.json : conf file ] cuz i cant find cgi server for ejs template engine ( only user can use ejs with express engine )

file : harp.json

  {
    "type": {
      "ejs" : "[ejs or html]",
    }
  }