Fixes the Webpack magic comments used to determine what i18n files to include in the dynamic comments. Native JS will handle using / as the directory separator on Windows, but it seems that the RegEx patterns used by the Webpack magic comments do not map that, and so need to explicitly support using \ as the separator.
What are the acceptance criteria?
On Windows systems, the tool builds and runs as expected. On BSD/Linux systems, the tool builds and runs as expected.
Type of Change
What issue does this relate to?
Resolves #408
What should this PR do?
Fixes the Webpack magic comments used to determine what i18n files to include in the dynamic comments. Native JS will handle using
/
as the directory separator on Windows, but it seems that the RegEx patterns used by the Webpack magic comments do not map that, and so need to explicitly support using\
as the separator.What are the acceptance criteria?
On Windows systems, the tool builds and runs as expected. On BSD/Linux systems, the tool builds and runs as expected.