Closed rickiesmooth closed 1 year ago
Without trying it, this might work:
module.exports = {
experimental: {
turbo: {
resolveAlias: {
"#node-web-compat": {
browser: "./node-web-compat-web.js",
default: "./node-web-compat-node.js",
},
},
},
},
}
A minimal description of steps to reproduce would be nice otherwise
Closing for now because unsure how to reproduce
I'm testing turbopack with the latest version of NextJS (13.3.0) which doesn't seem to support private mappings yet. I was wondering if someone got it to work with a resolve alias?
https://turbo.build/pack/docs/features/customizing-turbopack#resolve-aliases