Skip to content

Commit

Permalink
switch to format: iife for manager-builder so it work in commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Oct 20, 2023
1 parent 07715ee commit 705edaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/builders/builder-manager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
return {
entryPoints: realEntryPoints,
outdir: join(options.outputDir || './', 'sb-addons'),
format: 'esm',
format: 'iife',
write: false,
ignoreAnnotations: true,
resolveExtensions: ['.ts', '.tsx', '.mjs', '.js', '.jsx'],
Expand Down

0 comments on commit 705edaa

Please sign in to comment.