Due to support in more recent versions of Node.js for WHATWG URL objects in the file system API, this PR ensures that we can unambiguously detect file paths and load them correctly, even on Windows. Node.js users are thus recommended to use file:// URLs when specifying a file src property to load.
Due to support in more recent versions of Node.js for WHATWG URL objects in the file system API, this PR ensures that we can unambiguously detect file paths and load them correctly, even on Windows. Node.js users are thus recommended to use
file://
URLs when specifying a filesrc
property to load.