Skip to content

Commit 9d600c7

Browse files
committed
Running build through babel
1 parent 12dd89e commit 9d600c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

webpack.build.js

+9
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,14 @@ module.exports = {
2222
externals: {
2323
'react': 'React'
2424
},
25+
module: {
26+
loaders: [
27+
{
28+
test: /\.js$/,
29+
exclude: /node_modules/,
30+
loader: path.resolve(process.env.RACKT_PATH, 'node_modules/babel-loader')
31+
}
32+
]
33+
},
2534
plugins: plugins
2635
};

0 commit comments

Comments
 (0)