From 9d600c7c3e170f6ae8be8fa9ec3aa9804476765f Mon Sep 17 00:00:00 2001 From: mzabriskie Date: Fri, 12 Jun 2015 23:15:26 -0600 Subject: [PATCH] Running build through babel --- webpack.build.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/webpack.build.js b/webpack.build.js index 4f46139..e321adc 100644 --- a/webpack.build.js +++ b/webpack.build.js @@ -22,5 +22,14 @@ module.exports = { externals: { 'react': 'React' }, + module: { + loaders: [ + { + test: /\.js$/, + exclude: /node_modules/, + loader: path.resolve(process.env.RACKT_PATH, 'node_modules/babel-loader') + } + ] + }, plugins: plugins };