added --dev flag for component to include source maps