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
Due to Browserify's path resolution, all paths used in dynamically generated HTML should be prefixed by process.cwd() in order to make them absolute paths and prevent paths from being automatically expanded on by Browserify. This behaviour prevents actual deployment of any build as all expanded paths expand into an absolute path into the project directory where the project was built in.
Prefix paths directly with process.cwd()
Use fsAccess in order to modify the path string. This would likely be a better solution. Though, would require splitting of fsAccess out of each window/module and into it's own module file.
Manual testing for any fix will be very difficult due the nature of the error. Constant deletion/renaming of the project directory will be required in order to ensure that any expanded paths pointing into it are broken.
The text was updated successfully, but these errors were encountered:
Due to Browserify's path resolution, all paths used in dynamically generated HTML should be prefixed by process.cwd() in order to make them absolute paths and prevent paths from being automatically expanded on by Browserify. This behaviour prevents actual deployment of any build as all expanded paths expand into an absolute path into the project directory where the project was built in.
The text was updated successfully, but these errors were encountered: