Configuration
Configuration
Section titled “Configuration”Learn how to configure aincraft to suit your needs.
Basic Configuration
Section titled “Basic Configuration”Create an aincraft.config.js file in your project root:
export default { // Your configuration options here}Common Options
Section titled “Common Options”Build Options
Section titled “Build Options”input- Entry point for your applicationoutput- Output directoryplugins- List of plugins to use
Development Options
Section titled “Development Options”port- Development server porthost- Development server hostopen- Open browser automatically
Advanced Configuration
Section titled “Advanced Configuration”For more advanced use cases, you can customize almost every aspect of aincraft.
Environment Variables
Section titled “Environment Variables”Use environment variables to configure different environments:
# DevelopmentNODE_ENV=development
# ProductionNODE_ENV=production