Skip to content
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

[Feature Request]: v2 redefine spa and mpa config #1875

Open
ErKeLost opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1835
Open

[Feature Request]: v2 redefine spa and mpa config #1875

ErKeLost opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1835
Labels
refactor refactor some feature scope: config v2.0 v2.0 version

Comments

@ErKeLost
Copy link
Member

ErKeLost commented Oct 24, 2024

What problem does this feature solve?

new config

  compilation: {
    input: {
      index_a: './index_a.html',
      index_b: './index_b.html',
    },
  }

Add apptype attribute to configure spa, mpa or custom

The only difference between spa and mpa in type lies in the//path resolution problem when htmlfallback

Really configure compilation directly as long as it is mpa: {input:{}}

If custom is set, the processing mechanism of html in the server will not be processed in middleware mode

What does the proposed API look like?

none

@ErKeLost ErKeLost added the enhancement: pending triage Untriaged enhancement label Oct 24, 2024
@ErKeLost ErKeLost changed the title [Feature Request]: redefine spa and mpa config [Feature Request]: v2 redefine spa and mpa config Oct 24, 2024
@fu050409 fu050409 added refactor refactor some feature scope: config v2.0 v2.0 version and removed enhancement: pending triage Untriaged enhancement labels Oct 25, 2024
@fu050409 fu050409 linked a pull request Nov 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor refactor some feature scope: config v2.0 v2.0 version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants