@servant/servant-development

Servant development server for rapidly speed up development in multi modules project.

Usage no npm install needed!

<script type="module">
  import servantServantDevelopment from 'https://cdn.skypack.dev/@servant/servant-development';
</script>

README

Servant"> Servant development

Quick references: Command line, Node API, servant.json, dev-server

What is it?

Servant development is server for serving data into browser. It's provided build and rebuild of application that is marked for serve. Development server is configured in servant.json and is using templates files for serving and initializing app. In the exmaple below, there is part with development server configuration. This properties are described in servant.json part of documentation.

   {
   ...
   "server": {
         "entries": {
            "package-name": {
              "title": "Debug Server for package-name",
              "template": "./package-name/template.html"
            }
         },
         "css": ["http://fonts.googleapis.com/css?family=Open+Sans", "./globals/styles.css"],
         "js": ["https://code.highcharts.com/highcharts.js"]
       }
   }

Donate me 😉

QR Paypal

License

Licensed under GPLv3