trianglify icon indicating copy to clipboard operation
trianglify copied to clipboard

Error in production on vue, vite

Open gkucmierz opened this issue 1 year ago • 1 comments

index-VkoFY4_Q.js:1 TypeError: Uv is not a function
    at i (index-VkoFY4_Q.js:56:54894)
    at index-VkoFY4_Q.js:1:23734
    at Dt (index-VkoFY4_Q.js:1:13199)
    at ot (index-VkoFY4_Q.js:1:13278)
    at Dn.t.__weh.t.__weh (index-VkoFY4_Q.js:1:23614)
    at zi (index-VkoFY4_Q.js:1:14593)
    at Jr (index-VkoFY4_Q.js:1:43511)
    at mount (index-VkoFY4_Q.js:1:30249)
    at G0.t.mount (index-VkoFY4_Q.js:1:58816)
    at index-VkoFY4_Q.js:56:55329

gkucmierz avatar Dec 07 '23 13:12 gkucmierz

It works on prod when i import bundle.

import Trianglify from 'trianglify/dist/trianglify.bundle.js';

gkucmierz avatar Dec 07 '23 14:12 gkucmierz