Skip to content

Commit

Permalink
Fix incorrect processing of tests in a repo root / cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Jan 25, 2018
1 parent 30854ac commit ad259e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ export default function configure(options) {
}) ),

preprocessors: {
[rootFiles+'/**/*']: ['webpack']
[rootFiles+'/**/*']: ['webpack'],
[rootFiles]: ['webpack']
},

webpack: {
Expand All @@ -156,6 +157,7 @@ export default function configure(options) {
},
resolve: webpackProp('resolve', {
modules: webpackProp('resolve.modules', [
'node_modules',
path.resolve(__dirname, '../node_modules')
]),
alias: webpackProp('resolve.alias', {
Expand Down

0 comments on commit ad259e6

Please # to comment.