Skip to content

Configuration

Learn how to configure aincraft to suit your needs.

Create an aincraft.config.js file in your project root:

export default {
// Your configuration options here
}
  • input - Entry point for your application
  • output - Output directory
  • plugins - List of plugins to use
  • port - Development server port
  • host - Development server host
  • open - Open browser automatically

For more advanced use cases, you can customize almost every aspect of aincraft.

Use environment variables to configure different environments:

Terminal window
# Development
NODE_ENV=development
# Production
NODE_ENV=production