rollup-plugin-serve
rollup-plugin-serve copied to clipboard
multiple index.html
If there are multiple folders and there are multiple index.html
, I think the plugin needs to provide a hint.
contentBase: [resolveFile('example1'), resolveFile('example'), resolveFile('dist')]
Or add a configuration that specifies a index.html
in a directory.
Hi, I'm afraid I don't understand what you are saying. Do you have an example?
If there are multiple folders and multiple index.html
files in the project, the first imported index.html
is read by default.