Configuration#
This guide explores all of the configuration options in the gamekit.config.ts file.
General Config#
Project Name#
- Name:
projectName - Type:
string - Required
The name which goes into the <title> tag of your web page.
Package Manager#
- Name:
packageManager - Type:
"npm" | "yarn" - Required
The preferred package managed name. This is used by the CLI to invoke package scripts.
Index HTML Config#
Configuration for the index.html file.
Head Tag Items#
- Name:
html.head - Type:
string[]?
Additional entries to be included in the <head> tag of the index HTML file.
Script Tag Items#
- Name:
html.script - Type:
string[]?
Additional script entries to be included at the bottom of the <body> tag of the index HTML file.
Development Config#
Configuration for development server.
Dev Server Host#
- Name:
development.host - Type:
string?
The host name to run the Vite dev server on. Read more.
Dev Server Port#
- Name:
development.port - Type:
number?
The port number to run the Vite dev server on. Read more.
Base Path#
- Name:
development.base - Type:
string?
The base URL path the dev server runs on. Read more.
Build Config#
Configuration options for production builds.
Base Path#
- Name:
build.base - Type:
string?
The base URL path built assets reference. Read more.
Next Steps#
In the next guide, we'll explore core concepts about the engine.