UNPKG

@nx/webpack

Version:

The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.

39 lines (38 loc) 1.1 kB
{ "version": 2, "continuous": true, "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"] }