Skip to main content

Development Options

These options configure your development server started with chayns-toolkit dev.

All options aswell as the toolkit.config.js file itself are optional.

/toolkit.config.js
module.exports = {    development: {        /**         * The hostname of your development server. Defaults to `localhost` or         * `0.0.0.0` if both `cert` and `key` are provided.         *         * @type {string}         */        host: "123.0.0.1",
        /**         * The port the development server will run on. Defaults to `1234`.         *         * @type {number}         */        port: 1337,
        /**         * The path to a SSL certificate file for your development server. Not         * specified by default.         *         * @type {string}         */        cert: "//path/to/ssl/cert",
        /**         * The path to a SSL key file for your development server. Not specified         * by default.         *         * @type {string}         */        key: "//path/to/ssl/key",    },    // ... other options ...}