UWB-webapp/next.config.js
martin 1260ab8457 Initial commit
- Complete Next.js 14 app with TypeScript and Tailwind CSS
- ESP32 serial communication via API routes
- Real-time UWB positioning visualization
- Interactive 2D warehouse mapping with Canvas
- Device connection interface with auto-detection
- AT command parsing for UWBHelper library integration
- Clean project structure with comprehensive documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 15:14:34 +02:00

12 lines
No EOL
275 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
// Handle serialport native bindings for server-side
config.externals.push({
'serialport': 'commonjs serialport'
});
return config;
}
}
module.exports = nextConfig