I would like to compile files via Vue CLI 4.5 however I want to omit the asset folders like js
,css
,img
,fonts
.
This is how my vue.config.js file looks like right now. I tried to change the publicPath
and assetsDir
with no luck.
module.exports = {
publicPath:
process.env.NODE_ENV === "production"
? "/newfolder/"
: "/",
assetsDir: "static"
}
Vue is trying to load everything from:
newfolder/static/js
newfolder/static/css
newfolder/static/img
newfolder/static/fonts
Is there a way to dump everything into the static
folder in my case?