0.7.6 • Published 3 years ago

@chialab/rna-web-server v0.7.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Install

$ npm i @chialab/rna-web-server -D
$ yarn add @chialab/rna-web-server -D

Usage

Start a web dev server that transforms ESM imports for node resolution on demand. It also uses esbuild to compile non standard JavaScript syntax.

Via import

import { serve } from '@chialab/rna';

/**
 * @see https://modern-web.dev/docs/dev-server/cli-and-configuration/
 */
await serve({
    // rootDir: '.',
});

Via cli

$ npm i @chialab/rna @chialab/rna-web-server -D
serve [options] [root]

Options:
  -P, --port <number>       server port number
  --metafile [path]         generate manifest and endpoints maps
  --entrypoints <entry...>  list of server entrypoints
  -h, --help                display help for command

Samples

$ rna serve
$ rna serve public --port 3000

License

RNA Web Server is released under the MIT license.

0.5.11

3 years ago

0.4.21

3 years ago

0.7.6

3 years ago

0.5.8

3 years ago

0.4.9

3 years ago

0.5.7

3 years ago

0.4.8

3 years ago

0.5.9

3 years ago

0.4.22

3 years ago

0.4.19

3 years ago

0.4.17

3 years ago

0.4.18

3 years ago

0.4.15

3 years ago

0.4.16

3 years ago

0.4.13

3 years ago

0.4.14

3 years ago

0.4.11

3 years ago

0.4.12

3 years ago

0.6.3

3 years ago

0.5.4

3 years ago

0.7.1

3 years ago

0.7.4

3 years ago

0.6.5

3 years ago

0.5.6

3 years ago

0.7.3

3 years ago

0.6.4

3 years ago

0.5.0

3 years ago

0.7.0

3 years ago

0.6.1

3 years ago

0.5.2

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.4.5

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago