@dataloop-ai/components 0.20.90 → 0.20.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.90",
3
+ "version": "0.20.91",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -178,7 +178,13 @@ export default defineComponent({
178
178
  }
179
179
 
180
180
  try {
181
- let publicPath = process.env.BASE_URL ?? ''
181
+ let publicPath = ''
182
+ try {
183
+ publicPath = process.env.BASE_URL ?? ''
184
+ } catch (err) {
185
+ // skip in case 'process' is not defined
186
+ }
187
+
182
188
  if (publicPath.endsWith('/')) {
183
189
  publicPath = publicPath.slice(0, -1)
184
190
  }