antonreshetov / vue-eva-icons

Is a pack of more than 480 beautiful open source Eva icons as Vue components
https://antonreshetov.github.io/vue-eva-icons/
MIT License
196 stars 5 forks source link

Error in development #6

Open zurp opened 5 years ago

zurp commented 5 years ago

When using vue-eva-icons in development it seems that there's some logic that's broken related to sourcemaps.

Using Vue 2.6.6 and vue-eva-icons 1.1.0

×  XXX\frontend\node_modules\vue-eva-icons\dist\vue-eva.common.js:1850:83: Unterminated regular expression (1850:83)
  1848 |        if (sourceMap) {
  1849 |                // http://stackoverflow.com/a/26603875
> 1850 |                css += "\n + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
       |                                                                                                ^
  1851 |        }
  1852 | 
  1853 |        var blob = new Blob([css], { type: "text/css" });
tenphi commented 4 years ago

It looks like it's related to the Eva library itself. Cause I have the same issue without using "vue-eva-icons".