Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 0976a3b

Browse files
fix(build): Do not run all deps through babel
1 parent 5637bae commit 0976a3b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tasks/config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ const shared = {
1717
module: {
1818
loaders: [{
1919
test: /\.js$/,
20+
exclude: /node_modules/,
21+
loader: 'babel',
22+
query: {
23+
presets: ['es2015'],
24+
plugins: ['transform-runtime']
25+
}
26+
}, {
27+
test: /\.js$/,
28+
include: /node_modules\/(hoek|qs|wreck|boom)/,
2029
loader: 'babel',
2130
query: {
2231
presets: ['es2015'],

0 commit comments

Comments
 (0)