Title: how to get file reference after `emitFile`? · Issue #256 · unjs/unplugin · GitHub
Open Graph Title: how to get file reference after `emitFile`? · Issue #256 · unjs/unplugin
X Title: how to get file reference after `emitFile`? · Issue #256 · unjs/unplugin
Description: emitFile is supposed to a return a referenceId which can be used to import/export the file in other files. unplugin seems to not return anything (even the typescript type is void). unplugin/src/types.ts Line 22 in 61feea6 emitFile: (emit...
Open Graph Description: emitFile is supposed to a return a referenceId which can be used to import/export the file in other files. unplugin seems to not return anything (even the typescript type is void). unplugin/src/typ...
X Description: emitFile is supposed to a return a referenceId which can be used to import/export the file in other files. unplugin seems to not return anything (even the typescript type is void). unplugin/src/typ...
Opengraph URL: https://github.com/unjs/unplugin/issues/256
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"how to get file reference after `emitFile`?","articleBody":"[`emitFile`](https://rollupjs.org/guide/en/#thisemitfile) is supposed to a return a `referenceId` which can be used to import/export the file in other files.\r\n\r\nunplugin seems to not return anything (even the typescript type is `void`).\r\nhttps://github.com/unjs/unplugin/blob/61feea6f30cd5f1bfde420212e75410b63d293ee/src/types.ts#L22\r\n\r\n\r\nIs there a different way to get the referenceId?","author":{"url":"https://github.com/mayank99","@type":"Person","name":"mayank99"},"datePublished":"2023-01-07T22:44:52Z","url":"https://github.com/unjs/unplugin/issues/256"}
| 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:720739fa-f133-0b45-bd91-1350270f7bf7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 903A:07D0:219B278:2C8B1C5:6B00532A |
| html-safe-nonce | 35a301eddf68fdcf94fab478c35fd7574acbce6b959186e0e69f613988059416 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDNBOjA3RDA6MjE5QjI3ODoyQzhCMUM1OjZCMDA1MzJBIiwidmlzaXRvcl9pZCI6IjM5MDY1NTY2OTc3OTUxMjE5NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 16c58a2c8264f3be2f573bcfea08f5ba72247b07ebdfd8d42defacb2e4470065 |
| hovercard-subject-tag | issue:1524199567 |
| 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/unjs/unplugin/256/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08fa8b6ef52c63aadbeb643fd4dfb1441ed5cec76376279bf19b8a283226e9a4/unjs/unplugin/issues/256 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08fa8b6ef52c63aadbeb643fd4dfb1441ed5cec76376279bf19b8a283226e9a4/unjs/unplugin/issues/256 |
| og:image:alt | emitFile is supposed to a return a referenceId which can be used to import/export the file in other files. unplugin seems to not return anything (even the typescript type is void). unplugin/src/typ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mayank99 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/unjs/unplugin git https://github.com/unjs/unplugin.git |
| octolytics-dimension-user_id | 80154025 |
| octolytics-dimension-user_login | unjs |
| octolytics-dimension-repository_id | 385261169 |
| octolytics-dimension-repository_nwo | unjs/unplugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 385261169 |
| octolytics-dimension-repository_network_root_nwo | unjs/unplugin |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width