Helpers for import specifiers that include URL query parameters.
Volt keeps query strings as part of module identity, but most filesystem work must operate on the path portion only. This module centralizes those small operations so dev-server, build graph, and asset handling all interpret query modes consistently.
Summary
Functions
Appends a query string to path, preserving paths with no query.
Returns true when a query requests an asset module response.
Decodes a query string into a map.
Splits an import specifier into {path, query} without the leading ?.
Functions
Appends a query string to path, preserving paths with no query.
Returns true when a query requests an asset module response.
Decodes a query string into a map.
Splits an import specifier into {path, query} without the leading ?.