动态导入错误
Vue version
3.3.8
Link to minimal reproduction
no
Steps to reproduce
const wechat = useWechat();
(wechat === undefined
? import('./router/manager.js')
: import('./router/wechat.js')
).then(({routes}) => {
What is expected?
let c0; nCe === void 0 ? c0 = hp( () => import ('./manager-3904a373.js'), [ 'assets/manager-3904a373.js', 'assets/default-img-8e6b0f07.js', 'assets/default-img-a09b2389.css', 'assets/manager-e0c4f797.css' ] ) : c0 = hp( () => import ('./wechat-f1d4114b.js'), [ 'assets/wechat-f1d4114b.js', 'assets/default-img-8e6b0f07.js', 'assets/default-img-a09b2389.css', 'assets/wechat-15f4e0e3.css' ] );
What is actually happening?
pp( tCe === void 0 ? () => import ('./manager-99983abe.js') : () => import ('./wechat-5fd29dfd.js'), [ 'assets/wechat-5fd29dfd.js', 'assets/default-img-d50920ee.js', 'assets/default-img-a09b2389.css', 'assets/wechat-15f4e0e3.css' ] ).then(
System Info
No response
Any additional comments?
No response