0.7.6 • Published 4 years ago
@chialab/rna-web-server v0.7.6
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
4 years ago
0.4.21
4 years ago
0.7.6
4 years ago
0.5.8
4 years ago
0.4.9
4 years ago
0.5.7
4 years ago
0.4.8
4 years ago
0.5.9
4 years ago
0.4.22
4 years ago
0.4.19
4 years ago
0.4.17
4 years ago
0.4.18
4 years ago
0.4.15
4 years ago
0.4.16
4 years ago
0.4.13
4 years ago
0.4.14
4 years ago
0.4.11
4 years ago
0.4.12
4 years ago
0.6.3
4 years ago
0.5.4
4 years ago
0.7.1
4 years ago
0.7.4
4 years ago
0.6.5
4 years ago
0.5.6
4 years ago
0.7.3
4 years ago
0.6.4
4 years ago
0.5.0
4 years ago
0.7.0
4 years ago
0.6.1
4 years ago
0.5.2
4 years ago
0.6.0
4 years ago
0.5.1
4 years ago
0.4.5
4 years ago
0.4.7
4 years ago
0.4.6
4 years ago
0.4.4
4 years ago
0.4.3
4 years ago
0.4.2
4 years ago
0.4.1
4 years ago