Project

General

Profile

Actions

Task #101504

closed

Map relative lit-imports to bare module specifiers

Added by Benjamin Franzke 10 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Start date:
2023-07-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Bare module specifiers (such that do not start with / or .)
are cache busted by their mapping in importmap — relative
imports (inside lit) are not. This is why we used version-suffixed
lit package folders in #96511 (pretty much like unpkg.com does).

This got removed with #100245, because required updates for
configuration files have not been applied automatically and
the reason for the version suffix was undocumented and thus
unclear. While we could fix those issues and add autoupdate
support for configuration files, it is now decided to
remap all relative imports, as this logic is present in our
build setup for TypeScript sources anyway.

Actions

Also available in: Atom PDF