fix(web): configure ESM exports for registry packages
This commit is contained in:
parent
c4430fb1bf
commit
c4ea363497
3 changed files with 23 additions and 1 deletions
|
|
@ -12,7 +12,11 @@ const nextConfig: NextConfig = {
|
|||
'@tpmjs/registry-execute',
|
||||
],
|
||||
reactStrictMode: true,
|
||||
serverExternalPackages: ['@tpmjs/package-executor'],
|
||||
serverExternalPackages: [
|
||||
'@tpmjs/package-executor',
|
||||
'@tpmjs/registry-search',
|
||||
'@tpmjs/registry-execute',
|
||||
],
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue