Project

General

Profile

Actions

Bug #95799

closed

RequireJS: relative path broken

Added by Christoph Lehmann about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2021-10-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Using a relative path to a module does not work anymore

require([
  'jquery',
  '../typo3conf/ext/solr/Resources/Public/JavaScript/Chart.js'
], function ($, Chart) {

It wants to load /typo3/module/searchbackend/../typo3conf/ext/solr/Resources/Public/JavaScript/Chart.js

Actions

Also available in: Atom PDF