0.34.3 • Published 2 years ago
@resolve-js/runtime-single-process v0.34.3
@resolve-js/runtime-single-process
This package contains a runtime backend server that targets a standalone server or local machine.
Available Options
You can specify the following options to configure the runtime:
importMode
- Specifies whether to use static or dynamic imports between the application's modules.host
- Specifies the network host on which to listen for connections. Defaults to'0.0.0.0'
.port
- Specifies the server application's port.
Usage
// config.prod.js
const prodConfig = {
runtime: {
module: '@resolve-js/runtime-single-process',
options: {
host: declareRuntimeEnv('HOST', 'localhost'),
port: declareRuntimeEnv('PORT', '3000'),
},
},
...
}
0.34.3
2 years ago
0.34.2
2 years ago
0.34.1
2 years ago
0.34.0
2 years ago
0.33.10
2 years ago
0.33.15
2 years ago
0.33.14
2 years ago
0.33.13
2 years ago
0.33.12
2 years ago
0.33.9
2 years ago
0.33.11
2 years ago
0.33.7
2 years ago
0.33.6
2 years ago
0.33.5
2 years ago
0.33.4
2 years ago
0.33.3
3 years ago
0.33.2
3 years ago
0.33.1
3 years ago
0.33.8
2 years ago
0.33.0
3 years ago