mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Why? In preparation for moving all turbopack crates Also makes them easier to work with in general. Closes PACK-3164
6 lines
165 B
JavaScript
6 lines
165 B
JavaScript
function loadSomethingWithDynamicImport(param) {
|
|
return import(`something/${param}`).then((r) => r.default)
|
|
}
|
|
|
|
module.exports = { loadSomethingWithDynamicImport }
|