that would mean I'd need to "import" index.js in middleware.js, would that make any sense ?