We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e99fc6 commit 8a85c86Copy full SHA for 8a85c86
packages/runtime-bundler/src/resolver.ts
@@ -65,7 +65,7 @@ export class Resolver {
65
});
66
} else if (!isPlainObject(packageJson.exports)) {
67
throw ResolverError.forPackage(id, {
68
- explanation: `invalid value '${String(packageJson.exports)}' for property 'exports' in file '${packageJsonPath}'`
+ explanation: `invalid value '${JSON.stringify(packageJson.exports)}' for property 'exports' in file '${packageJsonPath}'`
69
70
} else if (Object.keys(packageJson.exports).length === 0) {
71
0 commit comments