Merge pull request #1280 from spotify/rugvip/migrate-js

plugins/catalog-backend: move migrations to JS with type annotations
This commit is contained in:
Patrik Oldsberg
2020-06-15 11:08:57 +02:00
committed by GitHub
8 changed files with 53 additions and 26 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ async function getConfig() {
for (const pkg of packages) {
const mainSrc = pkg.get('main:src');
if (mainSrc) {
moduleNameMapper[pkg.name] = path.resolve(pkg.location, mainSrc);
moduleNameMapper[`^${pkg.name}$`] = path.resolve(pkg.location, mainSrc);
}
}
}