DEV Community

Francisco Javier
Francisco Javier

Posted on

Add scripts type module at vite build

I have the problem that I have several scripts that are not type module and when I do the npm run build it asks me to put the attribute type=‘module’ but this breaks the app. I don't know how to add these scripts to my application without getting an error. Please help.

Top comments (0)