Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #877 from Shopify/fix-styleLiquid-link
Browse files Browse the repository at this point in the history
Fix style-tags.liquid so it points to correct styleLiquid path
  • Loading branch information
t-kelly authored Nov 16, 2018
2 parents c61c3cc + 781b630 commit de8a372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slate-tools/tools/webpack/style-tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% var basename = htmlWebpackPlugin.files.css[css].split('/').reverse()[0]; %>
<% var chunkName = basename.replace('.scss', '').replace('.css', '').replace('.styleLiquid', ''); %>
<% var isLiquidStyle = /.liquidStyle.css$/.test(basename) %>
<% if (htmlWebpackPlugin.options.isDevServer === true) { %>
<% if (htmlWebpackPlugin.options.isDevServer === true && !basename.includes('.styleLiquid')) { %>
<% var src = htmlWebpackPlugin.files.css[css] %>
<% } else { %>
<% var src = `{{ '${basename}' | asset_url }}` %>
Expand Down

0 comments on commit de8a372

Please sign in to comment.