Skip to content

webpack #17

@fengweiyuan

Description

@fengweiyuan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions