Closed
Description
Version
3.0.0
Node and OS info
Node 8.11.2 / yarn 1.9.4 / Ubuntu 16.04
Steps to reproduce
I want to build multi-page app, but I have no need for default app entry point.
So I'm trying to find a way to remove default entrypoint in vue.config.js.
I found that webpack-chain does not support removing entries, only clearing entry files from entry.
So I tried pages configuration to overwrite app to point to files that make sense in my environment.
What is expected?
I expect to be able to remove default entrypoint or at least I expect pages definition to overwrite default entrypoint.
module.exports = {
pages: {
app: {
entry: 'src/paymentInitiation/paymentInitiation.ts',
template: 'public/index.html',
title: 'Payment Initiation',
filename: 'paymentInitiation.html'
},
example: {
entry: 'src/example/main.ts',
template: 'public/index.html',
title: 'Example Vue Page',
filename: 'example.html'
}
}
}
What is actually happening?
Inspect output:
...
entry: {
app: [
'./src/main.ts'
],
example: [
'/home/.../webapp/src/example/main.ts'
]
}
}
It would be nice to just be able to redefine/remove it elegantly (setting entrypoints in script in package.json breaks vue ui additional views).