You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using v2 and when I first set it up, I remember having one comma appended to the body after mapping the assets. This was fixed by adding .join('') to the ended of the return statement.
Now after upgrading to v3, I am getting the same treatment, but this time it is appending four commas and I can't get rid of them. Basically my markup looks like this at render:
<body>
,,
<div id="app"></div>
,,
</body>
Any idea what's going on?
The text was updated successfully, but these errors were encountered:
but I ended up having to manipulate it since it returns an array -- and an array includes commas. There is also a special check to make sure that it only grabs JS files (courtesy of docs from v2).
I had been doing this for v2, but now the difference is there is an extra array in v3, thus I had to break it down to return mapped[0] rather than returning the map itself. Also, notice the join added at the end, which removes the commas from the returned array.
I've been using v2 and when I first set it up, I remember having one comma appended to the body after mapping the assets. This was fixed by adding
.join('')
to the ended of the return statement.Now after upgrading to v3, I am getting the same treatment, but this time it is appending four commas and I can't get rid of them. Basically my markup looks like this at render:
Any idea what's going on?
The text was updated successfully, but these errors were encountered: