diff --git a/packages/ui/.parcelrc b/packages/ui/.parcelrc index dc0dae33e..6bea18077 100644 --- a/packages/ui/.parcelrc +++ b/packages/ui/.parcelrc @@ -4,5 +4,6 @@ "**/assets/icons/*.svg": [ "@parcel/transformer-svg-react" ] - } + }, + "resolvers": ["parcel-resolver-ignore", "..."] } diff --git a/packages/ui/.parcelrc.arm64 b/packages/ui/.parcelrc.arm64 index 1d2db2238..47bedc6ab 100644 --- a/packages/ui/.parcelrc.arm64 +++ b/packages/ui/.parcelrc.arm64 @@ -8,5 +8,6 @@ "**/assets/icons/*.svg": [ "@parcel/transformer-svg-react" ] - } + }, + "resolvers": ["parcel-resolver-ignore", "..."] } diff --git a/packages/ui/package.json b/packages/ui/package.json index 95819e7d4..1e3d5de2b 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -57,6 +57,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", @@ -86,6 +87,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 @@