Skip to content

include_subdirs qualified should allow mapping folders to module names #7605

@anmonteiro

Description

@anmonteiro

Desired Behavior

With include_subdirs qualified, dune should allow configuring the name of the namespaced module

Example

A proposal:

(include_subdirs 
  (mode qualified)
  ((src foo) (src/invalid-[module]-name invalid_module_name)))

Motivation here being next.js folder names https://beta.nextjs.org/docs/routing/defining-routes and natural-feeling interop with melange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions