* 0.50

* Dep bumps
This commit is contained in:
Jaco Greeff
2020-02-16 09:18:04 +01:00
committed by GitHub
parent c29613faed
commit 6fb91e2e56
15 changed files with 155 additions and 149 deletions
+3 -5
View File
@@ -6,9 +6,7 @@
const path = require('path');
module.exports = function resolver (file, config) {
if (file.includes('package.json')) {
return path.join(config.basedir.replace('/src', '/'), file);
}
return config.defaultResolver(file, config);
return file.includes('package.json')
? path.join(config.basedir.replace('/src', '/'), file)
: config.defaultResolver(file, config);
};