Quantcast
Channel: How to bundle old plain JS files in Vite - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Asiel Diaz Benitez for How to bundle old plain JS files in Vite

You can use the public directory.you can move your JavaScript files that are not modules there, and they will be copied as-is to the dist/ folder

View Article



How to bundle old plain JS files in Vite

I have an app I want to start converting to ViteJS.The problem is there are around 50 JS files that are not modules - they rely on the global window object. There are lots of global classes, and...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images