Project

General

Profile

Actions

Task #101504

closed

Map relative lit-imports to bare module specifiers

Added by Benjamin Franzke 9 months ago. Updated 3 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 #1

Updated by Gerrit Code Review 9 months ago

  • Status changed from New to Under Review

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80268

Actions #2

Updated by Gerrit Code Review 9 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80224

Actions #3

Updated by Anonymous 9 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF