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 ArticleHow 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
More Pages to Explore .....