Skip to content

turbopack-240130.3

@timneutkens timneutkens tagged this 30 Jan 11:08
### Description

Fixes the error on https://github.com/vercel/next.js/pull/61369

Test run:
https://github.com/vercel/turbo/blob/08e09624524425db1530381941d1fedbed27fe4f/crates/turbopack-dev/src/ecmascript/content_entry.rs#L44

Excerpt:

```
  error: type `turbopack_binding::turbopack::turbopack_dev::ecmascript::content_entry::EcmascriptDevChunkContentEntries` is private
     --> packages/next-swc/crates/napi/src/next_api/project.rs:856:35
      |
  856 |                     let entries = content.entries().await?;
      |                                   ^^^^^^^^^^^^^^^^^^^^^^^^ private type
  
  error: type `turbopack_binding::turbopack::turbopack_dev::ecmascript::content_entry::EcmascriptDevChunkContentEntry` is private
     --> packages/next-swc/crates/napi/src/next_api/project.rs:857:33
      |
  857 |                     let entry = entries.get(&ModuleId::String(module).cell().await?);
      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
  
  error: type `turbopack_binding::turbopack::turbopack_dev::ecmascript::content_entry::EcmascriptDevChunkContentEntry` is private
     --> packages/next-swc/crates/napi/src/next_api/project.rs:858:37
      |
  858 |                     let map = match entry {
      |                                     ^^^^^ private type
  
  error: could not compile `next-swc-napi` (lib) due to 3 previous errors

```

<!--
  ✍️ Write a short summary of your work.
  If necessary, include relevant screenshots.
-->

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
Assets 2
Loading