Title: Static binding generator fails when using Webpack + Workers · Issue #778 · NativeScript/android · GitHub
Open Graph Title: Static binding generator fails when using Webpack + Workers · Issue #778 · NativeScript/android
X Title: Static binding generator fails when using Webpack + Workers · Issue #778 · NativeScript/android
Description: Example case: Setup - project with web worker file where the worker imports 'globals'. If you webpack the project, a bundle named [hash].worker.js will be generated and it will contain the whole tns-core-modules package. Since tns-core-m...
Open Graph Description: Example case: Setup - project with web worker file where the worker imports 'globals'. If you webpack the project, a bundle named [hash].worker.js will be generated and it will contain the whole tn...
X Description: Example case: Setup - project with web worker file where the worker imports 'globals'. If you webpack the project, a bundle named [hash].worker.js will be generated and it will contain the ...
Opengraph URL: https://github.com/NativeScript/android/issues/778
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Static binding generator fails when using Webpack + Workers","articleBody":"Example case:\r\nSetup - project with web worker file where the worker imports 'globals'.\r\nIf you webpack the project, a bundle named `[hash].worker.js` will be generated and it will contain the whole `tns-core-modules` package.\r\nSince `tns-core-modules` is also contained in the vendor chunk, the static binding generator will fail:\r\n```\r\nWarning: there already is an extend called com.tns.FragmentClass.\r\nWarning: The static binding generator will generate extend from:b8fc197268e0dd59663c.worker.js implementation\r\n:asbg:generateBindings\r\nException in thread \"main\" java.io.IOException: File already exists. This may lead to undesired behavior. Building 55% > :asbg:generateBindings\r\nPlease change the name of one of the extended classes.\r\n/home/svlaeva@bedford.progress.com/nativescript-webpack-workers-issue/platforms/android/src/main/java/com/tns/FragmentClass.java\r\n at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:59)\r\n at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)\r\n:asbg:generateBindings FAILED\r\n```","author":{"url":"https://github.com/sis0k0","@type":"Person","name":"sis0k0"},"datePublished":"2017-06-08T09:18:10Z","url":"https://github.com/NativeScript/android/issues/778"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:537e5e47-356b-9085-989f-23367a366e4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9310:134361:18646C6:20131B7:6B013B69 |
| html-safe-nonce | 68ee3387e32bd60e3bfc31a9e58977297da41422c1be7f5d39e75c0d787139d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzEwOjEzNDM2MToxODY0NkM2OjIwMTMxQjc6NkIwMTNCNjkiLCJ2aXNpdG9yX2lkIjoiNDYyMDY3MzQ1NDAzNzg3NTU2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 249936d54e0136ffcd9b3d8591d993c634c1b5b24ba988125893d998f3027b9a |
| hovercard-subject-tag | issue:234462182 |
| 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/NativeScript/android/778/issue_layout |
| twitter:image | https://opengraph.githubassets.com/23f67f4d2ca4014cac267e7752e6375775d4e9f35449f24e9b9977b32212daa0/NativeScript/android/issues/778 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23f67f4d2ca4014cac267e7752e6375775d4e9f35449f24e9b9977b32212daa0/NativeScript/android/issues/778 |
| og:image:alt | Example case: Setup - project with web worker file where the worker imports 'globals'. If you webpack the project, a bundle named [hash].worker.js will be generated and it will contain the whole tn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sis0k0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/android git https://github.com/NativeScript/android.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 29137950 |
| octolytics-dimension-repository_nwo | NativeScript/android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29137950 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/android |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width