rollup-plugin-serve icon indicating copy to clipboard operation
rollup-plugin-serve copied to clipboard

multiple index.html

Open Rabbitzzc opened this issue 3 years ago • 3 comments

If there are multiple folders and there are multiple index.html, I think the plugin needs to provide a hint. image

contentBase: [resolveFile('example1'), resolveFile('example'), resolveFile('dist')]

Rabbitzzc avatar Oct 07 '20 03:10 Rabbitzzc

Or add a configuration that specifies a index.html in a directory.

Rabbitzzc avatar Oct 07 '20 03:10 Rabbitzzc

Hi, I'm afraid I don't understand what you are saying. Do you have an example?

thgh avatar Oct 07 '20 07:10 thgh

If there are multiple folders and multiple index.html files in the project, the first imported index.html is read by default.

Rabbitzzc avatar Oct 07 '20 11:10 Rabbitzzc