Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 8937d98

Browse files
authoredDec 19, 2016
Update webpack.config.js
1 parent 39dcc44 commit 8937d98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎react-flux-babel-karma/webpack.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ module.exports = {
2323
loaders: [{
2424
test: /\.ts(x?)$/,
2525
exclude: /node_modules/,
26-
loader: 'babel-loader?presets[]=es2015&presets[]=react!ts-loader'
26+
loader: 'babel-loader?presets[]=es2016&presets[]=es2015&presets[]=react!ts-loader'
2727
}, {
2828
test: /\.js$/,
2929
exclude: /node_modules/,
3030
loader: 'babel',
3131
query: {
32-
presets: ['es2015', 'react']
32+
presets: ['es2016', 'es2015', 'react']
3333
}
3434
}]
3535
},
3636
plugins: [
3737
],
3838
resolve: {
3939
// Add `.ts` and `.tsx` as a resolvable extension.
40-
extensions: ['', '.webpack.js', '.web.js', '.ts', '.tsx', '.js']
40+
extensions: ['', '.ts', '.tsx', '.js']
4141
},
4242
};

0 commit comments

Comments
 (0)
Failed to load comments.