Skip to content

Commit

Permalink
Merge branch 'canary' into update/fonts-data-1693008562942
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Aug 26, 2023
2 parents c52487c + 1fe5f95 commit 75e7ad9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/next/src/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,7 @@ const edgeConditionNames = [
const mainFieldsPerCompiler: Record<CompilerNameValues, string[]> = {
[COMPILER_NAMES.server]: ['main', 'module'],
[COMPILER_NAMES.client]: ['browser', 'module', 'main'],
[COMPILER_NAMES.edgeServer]: [
'edge-light',
'worker',
// inherits the default conditions
'...',
],
[COMPILER_NAMES.edgeServer]: edgeConditionNames,
}

const BABEL_CONFIG_FILES = [
Expand Down

0 comments on commit 75e7ad9

Please sign in to comment.