$ 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'));
|
$ 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(
|