You should install babel-loader and babel-core as dev-dependency while npm install.
npm install babel-core babel-loader --save-dev
You should install babel-loader and babel-core as dev-dependency while npm install.
npm install babel-core babel-loader --save-dev