Skip to content

Commit 935bc4c

Browse files
authored
add missing * to regex in build.ts (#15)
1 parent 6481f6f commit 935bc4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "whop-sdk-ts",
3-
"version": "0.0.3-canary.1",
3+
"version": "0.0.3-canary.2",
44
"private": true,
55
"workspaces": [
66
"apps/*",

packages/repo-utils/src/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class Buildr {
9090

9191
private fixESM = (code: string) => {
9292
return code.replace(
93-
/(?:(?:^|\s)import\("(\.\.?\/.*)"\)|(?:import|export) (?:[a-zA-Z0-9_\s{}\n,])* from "(\.\.?\/.*)";)/gm,
93+
/(?:(?:^|\s)import\("(\.\.?\/.*)"\)|(?:import|export) (?:[a-zA-Z0-9_\s{}\n,*])* from "(\.\.?\/.*)";)/gm,
9494
(match, dynamicImport, staticImport) => {
9595
return match.replace(
9696
`"${staticImport || dynamicImport}"`,

0 commit comments

Comments
 (0)