Merge pull request #105 from krismeister/issue-104/fix-windows-build
#104 Fixed Yarn Start On Windows
diff --git a/babel.config.js b/babel.config.js
index a3ecf26..d3f3204 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -56,10 +56,14 @@
alias: {
...(DEV || TEST
? {
- '^@apache-annotator/([^/]+)$': path.join(
- __dirname,
- 'packages/\\1/src/index.ts',
- ),
+ '^@apache-annotator/([^/]+)$': ([, name]) => {
+ return path.join(
+ __dirname,
+ 'packages',
+ name,
+ '/src/index.ts'
+ )
+ },
}
: null),
},