Skip to content

Support process.env in vue.config.js & devServer.before improved

Choose a tag to compare

@IndexXuan IndexXuan released this 29 Mar 03:25
· 134 commits to main since this release
  • first require('vue.config.js') for pluginOptions.vite and then loadEnv by vite-plugin-env-compatible to process.env
  • vite-plugin-vue-cli require('vue.config.js') again for full vue.config.js UserConfig
  • add app.all method, better devServer.before support
  • generate entry html file by public/index.html support(also use lodash.template to compile)
  • Thanks xmasong for help