nonzzz / vite-plugin-cdn

replace module with CDN. work with vite.
MIT License
73 stars 5 forks source link

fix: Fix the issue with the use of the "defer" attribute on scripts #6

Closed Jane0220 closed 1 year ago

Jane0220 commented 1 year ago

Fix the issue with the use of the "defer" attribute on scripts and the loading order of the page modules, as well as correct errors in the readme.

I want to add "defer" attribute on script, and when i build my program, I found the loading order with page modules was wrong. And there are some mistakes in the example that given in README.md.

I tried to fixed these problems and run the test and coverage, all of them were passed, so I created the pull request.