install babel-loader for react code example Example: install babel loader npm install --save-dev babel-loader