You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Neos.UI 7.3.6 or even earlier the source are in a different folder than their declaration files from the react-ui-components ESM build, making it hard to use.
Only the d.ts files are contained are in the correct place.
Expected behavior
Source files are present and can be imported
Actual behavior
Source files are missing and import is not possible
Affected Versions
Neos: 7+
UI: 7.3.6 or earlier. 5.3.13 is still working
The text was updated successfully, but these errors were encountered:
Sebobo
changed the title
ESM build of react-ui-components is missing source files
ESM build of react-ui-components source files in wrong place
Jan 16, 2023
The relative import in the selectbox component forced
typescript to create a different file structure for the
source files than for the declaration files causing issues with importing the esm build.
By using the package style import the folder structure is correct again and by defining the rootDir in the tsconfig file an error will be thrown if a relative include outside of the components package is used.
Resolves: #3329
Description
Since Neos.UI 7.3.6 or even earlier the source are in a different folder than their declaration files from the react-ui-components ESM build, making it hard to use.
Only the d.ts files are contained are in the correct place.
Expected behavior
Source files are present and can be imported
Actual behavior
Source files are missing and import is not possible
Affected Versions
Neos: 7+
UI: 7.3.6 or earlier. 5.3.13 is still working
The text was updated successfully, but these errors were encountered: