Skip to content

Commit

Permalink
Fixed regexp (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyuvzhenko committed Nov 14, 2017
1 parent e708e0f commit fab01d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _loaders = [{
exclude: /node_modules/,
loader: 'babel-loader?presets[]=es2015'
}, {
test: [/\.\.\/src\/([a-z]*)\.js$/, /\.\.\/src\/modules\/([a-z]*)\.js$/],
test: [/\.\.\/src\/*\.js$/, /\.\.\/src\/modules\/*\.js$/],
exclude: /node_modules/,
enforce: 'pre',
loader: 'jshint-loader',
Expand All @@ -38,7 +38,7 @@ if (ENV === 'development') {

module: {
loaders: [..._loaders, {
test: /\.\.\/test\/([a-z]*)Spec\.js$/,
test: /\.\.\/test\/*Spec\.js$/,
exclude: /node_modules/,
enforce: 'pre',
loader: 'jshint-loader',
Expand Down

0 comments on commit fab01d4

Please sign in to comment.