easemob / easemob/easemob-uikit-react

webpack搭建的项目在webpack.config.js中,babel-loader下增加sourceType: 'unambiguous',并没有解决

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
13
Forks
9
PR merge metrics
No merged PRs in 30d

Description

使用react-cli创建的项目,在注册Provider组件时出现截图报错。
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with webpack.config.js, focusing on the babel-loader configuration, then inspect the Provider component registration in the React CLI-created project. Use the reported error screenshot to reproduce the failure and verify that Provider registration completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, react, typescript, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.