webpack-examples icon indicating copy to clipboard operation
webpack-examples copied to clipboard

编辑失败

Open xuewanyun opened this issue 7 years ago • 1 comments

ERROR in ./src/index.js Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: E:/webpack/src/index.js: Unexpected token (63:4)

61 | } 62 | ReactDOM.render(

63 | <Provider store={store}> | ^ 64 | <Router history={history}> 65 | <Route path="/" onEnter={validate}> 66 | <IndexRedirect to="home" />

@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js Child html-webpack-plugin for "index.html": 1 asset Entrypoint undefined = ./index.html [0] (webpack)/buildin/module.js 497 bytes {0} [built] [1] (webpack)/buildin/global.js 489 bytes {0} [built] [2] ./node_modules/lodash/lodash.js 527 KiB {0} [built] [3] ./node_modules/html-webpack-plugin/lib/loader.js!./index-demo.html 8.51 KiB {0} [built] i 「wdm」: Failed to compile.

xuewanyun avatar Jun 29 '18 07:06 xuewanyun

这是我哪个 demo 的错误?

teabyii avatar Jul 10 '18 05:07 teabyii