jhipster / jhipster-vuejs

A Vue.js blueprint for JHipster. It will use Vue.js as the frontend library!
https://www.jhipster.tech
Apache License 2.0
301 stars 179 forks source link

make baseHref configurable via html-webpack-plugin #617

Closed ruddell closed 4 years ago

ruddell commented 4 years ago

html-webpack-plugin now has support for the base href tag, but it injects an additional <base href> tag when configured (so we end up with two). I removed it from index.html and added it to the webpack config.

It's needed for both webpack.common.js and webpack.prod.js, if just in webpack.common.js then no tag is injected in a prod build.

Related to https://github.com/jhipster/jhipster-vuejs/commit/a08d8a64673905f9947ce2c76757f5065b3a3c79#r39287185

atomfrede commented 4 years ago

Awesome @ruddell :+1: