react-family icon indicating copy to clipboard operation
react-family copied to clipboard

webpack

Open fengweiyuan opened this issue 6 years ago • 0 comments

$ webpack --config webpack.dev.config.js Hash: 908c34d03b5wefwefw Version: webpack 3.12.0 Time: 38ms Asset Size Chunks Chunk Names bundle.js 2.72 kB 0 [emitted] main [0] ./src/index.js 248 bytes {0} [built] [failed] [1 error]

ERROR in ./src/index.js Module parse failed: Unexpected token (4:16) You may need an appropriate loader to handle this file type. | import ReactDom from 'react-dom'; | | ReactDom.render(

Hello React!
, document.getElementById('app')); |

fengweiyuan avatar Jun 17 '19 07:06 fengweiyuan