Open
Description
ERROR in ./src/components/role/projects.graphql
Module parse failed: /Users/hezhiqiang/webpack2/src/components/role/projects.graphql Unexpected token (1:6)
You may need an appropriate loader to handle this file type.
| query RoleIndex {
| roles {
| id
@ ./src/components/role/RoleIndex.js 21:0-49
@ ./src/App.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill react-hot-loader/patch ./src/index
Compile time no errors, but when modify a module that include the .graphql
file, the error raised.
Webpack version: 2.4.1
Metadata
Metadata
Assignees
Labels
No labels