Skip to content

Commit

Permalink
fix(rollup): fix browser build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffijoe committed Jan 7, 2024
1 parent 3e725f3 commit 01e16ea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ export default [
'case util.inspect.custom:': '',
"import { camelCase } from 'camel-case'":
'const camelCase = null as any',
"export * from './list-modules'": comment,
[`export {
GlobWithOptions,
ListModulesOptions,
ModuleDescriptor,
listModules,
} from './list-modules'`]: comment,
"import * as util from 'util'": '',
delimiters: ['', ''],
}),
Expand All @@ -93,7 +98,7 @@ export default [
module: 'ESNext',
},
},
})
}),
),
resolve({
preferBuiltins: true,
Expand Down

0 comments on commit 01e16ea

Please sign in to comment.