UNPKG

@nx/webpack

Version:

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

77 lines (76 loc) 2.05 kB
{ "version": 2, "outputCapture": "direct-nodejs", "title": "Webpack dev server", "description": "Serve an application using webpack.", "cli": "nx", "type": "object", "properties": { "buildTarget": { "type": "string", "description": "Target which builds the application.", "x-priority": "important" }, "port": { "type": "number", "description": "Port to listen on.", "default": 4200, "x-priority": "important" }, "host": { "type": "string", "description": "Host to listen on.", "default": "localhost" }, "ssl": { "type": "boolean", "description": "Serve using `HTTPS`.", "default": false }, "sslKey": { "type": "string", "description": "SSL key to use for serving `HTTPS`." }, "sslCert": { "type": "string", "description": "SSL certificate to use for serving `HTTPS`." }, "watch": { "type": "boolean", "description": "Watches for changes and rebuilds application.", "default": true }, "liveReload": { "type": "boolean", "description": "Whether to reload the page on change, using live-reload.", "default": true }, "hmr": { "type": "boolean", "description": "Enable hot module replacement.", "default": false }, "publicHost": { "type": "string", "description": "Public URL where the application will be served." }, "open": { "type": "boolean", "description": "Open the application in the browser.", "default": false, "x-priority": "important" }, "allowedHosts": { "type": "string", "description": "This option allows you to whitelist services that are allowed to access the dev server." }, "memoryLimit": { "type": "number", "description": "Memory limit for type checking service process in `MB`." }, "baseHref": { "type": "string", "description": "Base url for the application being built." } } }