vue-eva-icons icon indicating copy to clipboard operation
vue-eva-icons copied to clipboard

Error in development

Open zurp opened this issue 5 years ago • 1 comments

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" });

zurp avatar Mar 23 '19 13:03 zurp

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

tenphi avatar May 15 '20 07:05 tenphi