48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"name": "ssr-dev-server",
|
|
"implementation": "/packages/webpack/src/executors/ssr-dev-server/ssr-dev-server.impl.ts",
|
|
"schema": {
|
|
"version": 2,
|
|
"outputCapture": "direct-nodejs",
|
|
"title": "Webpack SSR Dev Server",
|
|
"description": "Serve a SSR application using webpack.",
|
|
"cli": "nx",
|
|
"type": "object",
|
|
"properties": {
|
|
"browserTarget": {
|
|
"type": "string",
|
|
"description": "Target which builds the browser application.",
|
|
"x-priority": "important"
|
|
},
|
|
"serverTarget": {
|
|
"type": "string",
|
|
"description": "Target which builds the server application.",
|
|
"x-priority": "important"
|
|
},
|
|
"port": {
|
|
"type": "number",
|
|
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
|
"default": 4200,
|
|
"x-priority": "important"
|
|
},
|
|
"browserTargetOptions": {
|
|
"type": "object",
|
|
"description": "Additional options to pass into the browser build target.",
|
|
"default": {}
|
|
},
|
|
"serverTargetOptions": {
|
|
"type": "object",
|
|
"description": "Additional options to pass into the server build target.",
|
|
"default": {}
|
|
}
|
|
},
|
|
"required": ["browserTarget", "serverTarget"],
|
|
"presets": []
|
|
},
|
|
"description": "Serve a SSR application.",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/webpack/src/executors/ssr-dev-server/schema.json",
|
|
"type": "executor"
|
|
}
|