We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ae6f7 commit e708e0fCopy full SHA for e708e0f
webpack/config.js
@@ -19,8 +19,7 @@ _loaders = [{
19
exclude: /node_modules/,
20
loader: 'babel-loader?presets[]=es2015'
21
}, {
22
- // './src/*.js', './src/modules/*.js'
23
- test: /\.\.\/src\/[a-z]*\.js/,
+ test: [/\.\.\/src\/([a-z]*)\.js$/, /\.\.\/src\/modules\/([a-z]*)\.js$/],
24
25
enforce: 'pre',
26
loader: 'jshint-loader',
@@ -39,8 +38,7 @@ if (ENV === 'development') {
39
38
40
module: {
41
loaders: [..._loaders, {
42
- // './test/*Spec.js'
43
- test: /\.[/]test[/][a-z*]\.js/,
+ test: /\.\.\/test\/([a-z]*)Spec\.js$/,
44
45
46
0 commit comments