Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babel Loaders in webpack #2

Open
michaelcyng opened this issue Jan 15, 2018 · 0 comments
Open

Babel Loaders in webpack #2

michaelcyng opened this issue Jan 15, 2018 · 0 comments

Comments

@michaelcyng
Copy link

Hi, I have just followed the instruction in http://www.eloquentwebapp.com/building-a-gallery-using-reactjs-webpack-bootstrap-and-sass/ and I got the following error when I tried to build the bundle.js with webpack:

ERROR in Entry module not found: Error: Can't resolve 'babel' in '/home/tscs-dev/Entwicklungen/web'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'babel-loader' instead of 'babel',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed

In my webpack.config.js, I changed 'babel' to 'babel-loader'. I wonder if you may want to change the webpack config in a similar way too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant