rewrites #

The rewrites function can handle folder names starting with @ as regular paths instead of parallel routes.

TypeScript | next.config.js
module.exports = {
  async rewrites() {
    return [
      {
        source: "/web/css/at-rules/@:target",
        destination: "/web/css/at-rules/:target",
      },
    ];
  },
};

This provides flexibility in routing, but the trade-off is that the page renders twice due to rewriting the path.