1

have same issues withe web pack project can you please help me to resolve that one. I didn't use react-scripts because it's web pack project. i have migrated react-bootstrap 1.6.4 to 2.1.1 Current Version: 2.1.1

the errors are:

ERROR in ./node_modules/react-bootstrap/esm/SplitButton.js Module parse failed: Unexpected token (101:2) You may need an appropriate loader to handle this file type. | renderMenuOnMount, | rootCloseEvent, | ...props | }, ref) => /#PURE/_jsxs(Dropdown, { | ref: ref, @ ./node_modules/react-bootstrap/esm/index.js 67:0-55 @ ./src/containers/Layout.jsx @ ./src/routes/index.jsx @ ./src/containers/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server react-hot-loader/patch babel-polyfill whatwg-fetch ./src/index.jsx

the issue did not occur in [email protected]

3
  • add configuration webpack
    – A.R.SEIF
    Commented Jan 31, 2022 at 4:36
  • @A.R.SEIF can you please help me to configure that one or else can you share me the reference url Commented Jan 31, 2022 at 4:40
  • how migrate react-bootstrap
    – A.R.SEIF
    Commented Jan 31, 2022 at 4:50

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.