Loader issue
See original GitHub issueI’m fairly new to webpack and seem to have run into trouble when I’ve updated the package to 1.2.0. I usednpm install react-wordcloud
and had no troubles before with version 1.1.1. On my webpack config, js and jsx files are using only babel-loaders
. Am I missing a configuration on the project?
Babel settings
"babel-core": "^6.26.0",
"babel-eslint": "^8.1.2",
"babel-loader": "^7.1.1",
Module parse failed: Unexpected token (758:28)
You may need an appropriate loader to handle this file type.
| words
| }) => {
| const mergedCallbacks = { ...defaultCallbacks,
| ...callbacks
};
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to resolve this loader issue in React? - Stack Overflow
I took a look at the link and read up on loaders, but I got no idea what type of loader I need...
Read more >Loader issue - WordPress.org
Hey team, Hope you guys help me out with this. Whenever someone is trying to give a star review, the loader.gif loads in...
Read more >Issues · babel/babel-loader - GitHub
Issues list ; In lerna project, use exclude and include is not working. #955 opened on Oct 18 ; Error when try to...
Read more >webpack-error-loader - npm
Webpack error/warning emitting loader. Latest version: 1.0.1, last published: 2 years ago. Start using webpack-error-loader in your project ...
Read more >Class Loader Issues in Published Projects
Class Loader Issues in Published Projects. Careful inspection of the stack trace can provide you with helpful hints about Application Platform issues.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure if it had something to do with the babel spread syntax? I’ve checked the babel updated version for the project and it seems like a highly likely cause? https://babeljs.io/docs/en/v7-migration https://babeljs.io/docs/en/babel-plugin-proposal-object-rest-spread
Hey @DingLiSim, not sure what the issue is you are facing. In the Codesandbox link you provided, seems like the wordcloud is rendering fine! Let me know if there’s some issue you are facing and have a Codesandbox that reproduces the error. Thanks. Closing the ticket for now!