Title: Regression in gleap@14.2.6+: .mjs build causes Webpack parse error in Vue 2 · Issue #75 · GleapSDK/JavaScript-SDK · GitHub
Open Graph Title: Regression in gleap@14.2.6+: .mjs build causes Webpack parse error in Vue 2 · Issue #75 · GleapSDK/JavaScript-SDK
X Title: Regression in gleap@14.2.6+: .mjs build causes Webpack parse error in Vue 2 · Issue #75 · GleapSDK/JavaScript-SDK
Description: I’m using Gleap in a Vue 2 project (Vue CLI with Webpack) and encountering a fatal error when importing the package: import Gleap from 'gleap'; With versions 14.2.6 and 14.2.7, I get the following error during build: Module parse failed:...
Open Graph Description: I’m using Gleap in a Vue 2 project (Vue CLI with Webpack) and encountering a fatal error when importing the package: import Gleap from 'gleap'; With versions 14.2.6 and 14.2.7, I get the following ...
X Description: I’m using Gleap in a Vue 2 project (Vue CLI with Webpack) and encountering a fatal error when importing the package: import Gleap from 'gleap'; With versions 14.2.6 and 14.2.7, I get the fo...
Opengraph URL: https://github.com/GleapSDK/JavaScript-SDK/issues/75
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression in gleap@14.2.6+: .mjs build causes Webpack parse error in Vue 2","articleBody":"I’m using Gleap in a Vue 2 project (Vue CLI with Webpack) and encountering a fatal error when importing the package:\n```js\nimport Gleap from 'gleap';\n```\n\nWith versions 14.2.6 and 14.2.7, I get the following error during build:\n```\nModule parse failed: Unexpected token (1:155835)\nYou may need an appropriate loader to handle this file type...\n```\n\n✅ Temporary Fix:\n\nDowngrading to gleap@14.2.5 resolves the issue, which confirms a regression in 14.2.6+.\n\nThanks.","author":{"url":"https://github.com/eng-ahmad-sameer","@type":"Person","name":"eng-ahmad-sameer"},"datePublished":"2025-05-29T20:54:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/75/JavaScript-SDK/issues/75"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3e001159-35ef-4da4-0fc1-8cf023005310 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1FE:4FA0F:3C7A59:4EA40A:698E6FFF |
| html-safe-nonce | 0eab15dfc5083c5e4a5795ecb95c0cdc849fedc687109ba5db48c845f8609f13 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUZFOjRGQTBGOjNDN0E1OTo0RUE0MEE6Njk4RTZGRkYiLCJ2aXNpdG9yX2lkIjoiNzIyMTEyNjU0MDg1MDc4NjMwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4639ccc84c32716c44e7b7e1083a21c47bd5b5c57cd6b00820207e3a78e0189e |
| hovercard-subject-tag | issue:3101465098 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GleapSDK/JavaScript-SDK/75/issue_layout |
| twitter:image | https://opengraph.githubassets.com/385be17bd8f51069918f18c964d4ff10ee64eb8a69bdad9d5c3ade441ea346fa/GleapSDK/JavaScript-SDK/issues/75 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/385be17bd8f51069918f18c964d4ff10ee64eb8a69bdad9d5c3ade441ea346fa/GleapSDK/JavaScript-SDK/issues/75 |
| og:image:alt | I’m using Gleap in a Vue 2 project (Vue CLI with Webpack) and encountering a fatal error when importing the package: import Gleap from 'gleap'; With versions 14.2.6 and 14.2.7, I get the following ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eng-ahmad-sameer |
| hostname | github.com |
| expected-hostname | github.com |
| None | f86603f0b4e9df9a462725324a8c84c98fc50866bdb6ae8ff026fabe56a60c57 |
| turbo-cache-control | no-preview |
| go-import | github.com/GleapSDK/JavaScript-SDK git https://github.com/GleapSDK/JavaScript-SDK.git |
| octolytics-dimension-user_id | 91374640 |
| octolytics-dimension-user_login | GleapSDK |
| octolytics-dimension-repository_id | 175963382 |
| octolytics-dimension-repository_nwo | GleapSDK/JavaScript-SDK |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 175963382 |
| octolytics-dimension-repository_network_root_nwo | GleapSDK/JavaScript-SDK |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7eb8835f5978c5aa7a64336b39e0774a93a9a196 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width