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
When loading SPX on a server without URL rewriting and thus having a php file inside a URL, the UI won't load because some of the JS files fail to load. The files that won't load are the ones that are imported inside ESM modules, the reason is : the different algorithms used for resolution, on script tags, relative paths are relative to the current page (which includes the filename) but inside an ESM module, relative paths are relative to current file directory (but since there is no rewriting, no PHP script is loaded and the js does not load)
Would you accept a PR that replaces current import directives with dynamic import ?
The text was updated successfully, but these errors were encountered:
Hello,
When loading SPX on a server without URL rewriting and thus having a php file inside a URL, the UI won't load because some of the JS files fail to load. The files that won't load are the ones that are imported inside ESM modules, the reason is : the different algorithms used for resolution, on script tags, relative paths are relative to the current page (which includes the filename) but inside an ESM module, relative paths are relative to current file directory (but since there is no rewriting, no PHP script is loaded and the js does not load)
Would you accept a PR that replaces current import directives with dynamic import ?
The text was updated successfully, but these errors were encountered: