Skip to content

Commit

Permalink
fix(serve): local assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandg7 committed Mar 30, 2021
1 parent 74e4266 commit 0d34990
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
htmlWebpackPlugin.files.js[0]; %>
<script>
window.__webpack_public_path__ =
'<%= anEntry.split(' / ').slice(0, -2).join(' / ') + ' / ' %>';
'<%= anEntry.split('/').slice(0, -2).join('/') + '/' %>';
</script>
<% } else { %> {% assign randomFile = 'randomFile.js' | asset_url %} {% assign
cdnPath = randomFile | split: 'assets/randomFile.js' | first %}
Expand Down

0 comments on commit 0d34990

Please sign in to comment.