This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 0ec75ed  #104 fixed yarn start on windows
     new e31bac4  Merge pull request #105 from 
krismeister/issue-104/fix-windows-build
0ec75ed is described below

commit 0ec75ed58d19ee4da609f36f0bd62a334cef71fa
Author: krismeister <[email protected]>
AuthorDate: Thu Feb 25 23:37:35 2021 -0500

    #104 fixed yarn start on windows
---
 babel.config.js | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

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 @@ module.exports = (api) => {
     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),
     },

Reply via email to