Skip to content

Commit

Permalink
fix bug in empty module
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Nov 11, 2023
1 parent f48ce03 commit 591ee5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function removeFromBundle(

// Currently configured for CJS only.
const EMPTY_MODULE = {
code: `module.exports = null`,
code: `module.exports = {}`,
}

export function excludeOnMatch(modulesToExclude: ModulesToExclude, id: string) {
Expand Down

0 comments on commit 591ee5a

Please sign in to comment.