You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🙅 编译失败.
./src/config/index.js
Module not found: Can't resolve './' in '/Users/Edwin/codes/taro/src/config'./src/config/index.jsModule not found: Error: Can't resolve './'in'/Users/Edwin/codes/taro/src/config'
resolve './'in'/Users/Edwin/codes/taro/src/config'
Parsed request is a directory
using description file: /Users/Edwin/codes/taro/package.json (relative path: ./src/config)
resolve multi platform file path
using description file: /Users/Edwin/codes/taro/package.json (relative path: ./src/config)
using description file: /Users/Edwin/codes/taro/package.json (relative path: ./src/config/index.js)
as directory
/Users/Edwin/codes/taro/src/config/index.js is not a directory
问题描述
Taro v3.0.0-rc.4、Taro v3.0.0-rc.5 ,使用 require.context 加载模块时编译失败。
复现步骤
期望行为
可以正常使用
require.context
报错信息
系统信息
补充信息
看看
MultiPlatformPlugin
及关联上下游的解析逻辑The text was updated successfully, but these errors were encountered: