Babel 6 transform-runtime: $export is not a function
Try adding exclude: /node_modules/ after loader: ‘babel-loader’. I had the same problem when trying to run the runtime transformer without excluding node_modules. I am not aware of the underlying problem, though.