Skip to content

Commit

Permalink
refactor: remove removeSpecialComments from webpack based builder a…
Browse files Browse the repository at this point in the history
…pp-shell builder

This option is not available in webpack based builders.
  • Loading branch information
alan-agius4 committed Nov 29, 2023
1 parent e0b274b commit 9b71f55
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ async function _appShellBuilder(

const optimization = normalizeOptimization(browserOptions.optimization);
optimization.styles.inlineCritical = false;
// Webpack based builders do not have the `removeSpecialComments` option.
delete optimization.styles.removeSpecialComments;

const browserTargetRun = await context.scheduleTarget(browserTarget, {
watch: false,
Expand Down

0 comments on commit 9b71f55

Please sign in to comment.