[Bug Report]: Input matching is not perfect enough
deyihu opened this issue · comments
Steps to reproduce
import { defineConfig } from "@farmfe/core";
export default defineConfig({
compilation: {
presetEnv: false,
input: {
index: './index.html',
about: './about.html',
},
},
})
-
when dev,open http://localhost:9000/index , http://localhost:9000/about It is normally accessible
-
If there is a problem when passing parameters on the page, it is expected to be located on the about page, but the result is that it is located on the homepage(index),such http://localhost:9000/about?id=hello
-
The analysis of page addresses should be more optimized, taking into account user parameters and hashes in the address
Similar address:
http://localhost:9000/about?id=hello
http://localhost:9000/about?id=hello&name=world
http://localhost:9000/about#hello -
URL should be used to obtain page information
Reproduce link
No response
What is actually happening?
The analysis of page addresses should be more optimized, taking into account user parameters and hashes in the address
System Info
npm create farm@latest