Miofly/vite-plugin-multi-pages

build出来的dist

Opened this issue · 2 comments

examples 案例下执行打包build, 产物结构如下:

dist                                         
├─ assets                                    
│  ├─ _plugin-vue_export-helper-BCz1Sbhu.js  
│  ├─ test-one-DHjjSAok.js                   
│  ├─ test-two-BEEI8v-9.js                   
│  └─ test-twos-C8Lrfsi3.js                  
├─ src                                       
│  └─ pages                                  
│     ├─ test-one                            
│     │  └─ index.html                       
│     ├─ test-two                            
│     │  └─ index.html                       
│     └─ test-twos                           
│        └─ index.html                       
└─ favicon.ico                               

我们预期的输出应该是:

dist                             
├─ assets                        
│  ├─ _plugin-vue_export-helper-BCz1Sbhu.js  
│  ├─ test-one-DHjjSAok.js                   
│  ├─ test-two-BEEI8v-9.js                   
│  └─ test-twos-C8Lrfsi3.js                                     
├─ test-one.html                    
├─ test-two.html                    
└─test-twos.html                    

想问下如何解决

我也想问