Merge pull request #20040 from backstage/freben/naming
use named exports in cjs builds
This commit is contained in:
@@ -90,6 +90,7 @@ export async function makeRollupConfigs(
|
||||
chunkFileNames: `cjs/[name]-[hash].cjs.js`,
|
||||
format: 'commonjs',
|
||||
sourcemap: true,
|
||||
exports: 'named',
|
||||
});
|
||||
}
|
||||
if (options.outputs.has(Output.esm)) {
|
||||
|
||||
Reference in New Issue
Block a user