diff --git a/packages/ui/.parcelrc b/packages/ui/.parcelrc index 941c5e47e..4dc2b9f04 100644 --- a/packages/ui/.parcelrc +++ b/packages/ui/.parcelrc @@ -11,5 +11,6 @@ "@parcel/compressor-gzip", "@parcel/compressor-brotli" ] - } + }, + "resolvers": ["parcel-resolver-ignore", "..."] } diff --git a/packages/ui/.parcelrc.arm64 b/packages/ui/.parcelrc.arm64 index a781fc41e..8066b68ca 100644 --- a/packages/ui/.parcelrc.arm64 +++ b/packages/ui/.parcelrc.arm64 @@ -15,5 +15,6 @@ "@parcel/compressor-gzip", "@parcel/compressor-brotli" ] - } + }, + "resolvers": ["parcel-resolver-ignore", "..."] } diff --git a/packages/ui/package.json b/packages/ui/package.json index 5c3319998..48f3dcc44 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -59,6 +59,7 @@ "libphonenumber-js": "^1.9.49", "lint-staged": "^13.0.0", "parcel": "2.8.3", + "parcel-resolver-ignore": "^2.1.3", "postcss": "^8.4.6", "postcss-modules": "^4.3.0", "prettier": "^2.8.2", @@ -88,6 +89,9 @@ } } }, + "parcelIgnore": [ + "^/api/.+" + ], "alias": { "@/*": "./src/$1" }, diff --git a/packages/ui/src/index.html b/packages/ui/src/index.html index 983769dcd..acec71900 100644 --- a/packages/ui/src/index.html +++ b/packages/ui/src/index.html @@ -5,6 +5,8 @@