vuepress
                                
                                 vuepress copied to clipboard
                                
                                    vuepress copied to clipboard
                            
                            
                            
                        打包的时候.temp中生成的.server下的app.js报错
- [ ] I confirm that this is an issue rather than a question.
Bug report
 这里自动生成的app.js会报找不到vue-router,其中scsight的内容是esm,不是cjs也会报错,在config.ts中该如何配置才能不生成
.server或者生成的app.js是esm而不是cjs。
我用的是最新版,vite打包的。
这里自动生成的app.js会报找不到vue-router,其中scsight的内容是esm,不是cjs也会报错,在config.ts中该如何配置才能不生成
.server或者生成的app.js是esm而不是cjs。
我用的是最新版,vite打包的。
Steps to reproduce
What is expected?
解答以上问题
What is actually happening?
Other relevant information
- Output of npx vuepress infoin my VuePress project: