moduleForServerPath abstract method

Future<String?> moduleForServerPath(
  1. String entrypoint,
  2. String serverPath
)

Returns the module for the corresponding server path.

For example:

/packages/path/path.ddc.js -> packages/path/path

Implementation

Future<String?> moduleForServerPath(String entrypoint, String serverPath);