Meteor + Webpack from the ground up
Sam Corcos
28611

Sam Corcos, with the updated package versions you need to add preset packages and modify your build config as follows.

webpack.packages.json

{
"react": "^0.14.3",
"react-dom": "^0.14.3",

"babel-core": "^6.3.13",
"babel-loader": "^6.2.0",
"babel-preset-react": "^6.3.13",
"babel-preset-es2015": "^6.3.13"
}

webpack.config.js

module.exports = {
entry: './entry',
resolve: {
extensions: ['', '.js', '.jsx', '.json']
},
module: {
loaders: [
{ test: /\.jsx?$/,
loader: 'babel',
exclude: /node_modules/,
query:
{
presets:['es2015','react']
}
}
]
}
};
Like what you read? Give Ben Strahan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.