Skip to content

multi pages config #4855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rayfalling opened this issue Nov 18, 2019 · 3 comments
Open

multi pages config #4855

rayfalling opened this issue Nov 18, 2019 · 3 comments
Labels
needs team repro We acknowledged your report and will soon try to reproduce it

Comments

@rayfalling
Copy link

What problem does this feature solve?

multi pages config may lead error URIError: Failed to decode param '/%3C%=%20BASE_URL%20%%3Efavicon.ico' when no filename is set to index.html, may add the config to custom the entry page name(such as main.html?

What does the proposed API look like?

pages: {
student: {
entry: 'main/main.js',
template: 'public/main.html',
filename: 'student.html',
mainEntry:true,
chunks: ['chunk-vendors', 'chunk-common', 'main']
}
}

@haoqunjiang
Copy link
Member

when no filename is set to index.html

Do you have a reproduction for this issue?

@haoqunjiang haoqunjiang added the needs reproduction This issue is missing a minimal runnable reproduction, provided by the author label Nov 18, 2019
@rayfalling
Copy link
Author

related to #4856
and I'll provide the repo soon

@rayfalling
Copy link
Author

@haoqunjiang haoqunjiang added needs team repro We acknowledged your report and will soon try to reproduce it and removed needs reproduction This issue is missing a minimal runnable reproduction, provided by the author labels Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs team repro We acknowledged your report and will soon try to reproduce it
Projects
None yet
Development

No branches or pull requests

2 participants