Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
updated to webpack 2; fixes #2694
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Oct 2, 2017
1 parent 006b162 commit c354fd9
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,15 @@ var bannerPlugin = new webpack.BannerPlugin({
});

var webpackModule = {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: {
cacheDirectory: true, // use cache to improve speed
babelrc: true // use the .baberc file
}
rules: [{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
options: {
cacheDirectory: true, // use cache to improve speed
babelrc: true // use the .baberc file
}
],
}],

// exclude requires of moment.js language files
wrappedContextRegExp: /$^/
Expand Down

0 comments on commit c354fd9

Please sign in to comment.