Issue description
When compiling the plugin / example on Windows the user is presented with an error saying "Malformed fileName". The issue seems to be caused by the regex pattern /.*\/(.*)\./ expecting a forward slash (/) instead of a backslash (\).
Steps to reproduce
Clone the repository in a Windows environment
Run npm install in the cloned repository
Build the plugin using the provided script (npm run build)
Enter the example directory
Run npm install
Run npm run start
Observe error
Workaround
This issue can be bypassed by using the following regex pattern: /.*\\(.*)\./). Please note, however, that this introduces the reverse of the issue noted above, and as such a proper multi-platform solution should be introduced.
Issue description When compiling the plugin / example on Windows the user is presented with an error saying "Malformed fileName". The issue seems to be caused by the regex pattern
/.*\/(.*)\./
expecting a forward slash (/
) instead of a backslash (\
).Steps to reproduce
npm install
in the cloned repositorynpm run build
)npm install
npm run start
Workaround This issue can be bypassed by using the following regex pattern:
/.*\\(.*)\./)
. Please note, however, that this introduces the reverse of the issue noted above, and as such a proper multi-platform solution should be introduced.