vbenjs / vite-plugin-html

A vite plugin for processing html. It is developed based on lodash template
MIT License
604 stars 96 forks source link

feat: support RegExp type proxy settings #113

Open youthug opened 1 year ago

youthug commented 1 year ago

According to the Vite's docs, vite allows user to create RegExp type proxy rules, we should support it too.

If the key starts with ^, it will be interpreted as a RegExp.