Skip to content

Commit

Permalink
WebPack code chunks are sometimes prefixed by "use strict"
Browse files Browse the repository at this point in the history
  • Loading branch information
palant committed Jan 3, 2024
1 parent e557852 commit e09a458
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,15 @@ export function* parseModules(ast)
`,
// Code splitting
`
statement0_optional;
(placeholder1.placeholder2 = placeholder1.placeholder2 || []).push([
[expression0_literal_repeatable],
expression1
]);
statement2_repeatable_optional;
`,
`
statement0_optional;
(placeholder1.placeholder2 = placeholder1.placeholder2 || []).push([
[expression0_literal_repeatable],
expression1,
Expand Down

0 comments on commit e09a458

Please sign in to comment.