Closed YourWishes closed 5 years ago
A PR would be welcome!
🤦♂️ Of course I didn't see it. Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Problem
See #806 - Resolved issue does not work for Windows under
slate-tools/tools/webpack/script-tags.html
, since;<% if (htmlWebpackPlugin.options.liquidTemplates[chunk].includes('customers/')) { %>
will befalse
on windows due to directory slashes being\
rather than/
Replication steps
yarn build
dist/snippets/script-tags.liquid
to see that the template if statement will be as:{%- if template == 'login' -%}
More Information
Easily fixed by replacing
/
with\\
on Windows, ideally needs to facilitate both environments.