Skip to content

Commit

Permalink
do not expose env var
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Mar 19, 2021
1 parent 7d13000 commit 83ee858
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1045,9 +1045,6 @@ export default async function getBaseWebpackConfig(
'process.env.__NEXT_SCROLL_RESTORATION': JSON.stringify(
config.experimental.scrollRestoration
),
'process.env.__NEXT_EXTERNAL_DIR': JSON.stringify(
config.experimental.externalDir
),
'process.env.__NEXT_IMAGE_OPTS': JSON.stringify({
deviceSizes: config.images.deviceSizes,
imageSizes: config.images.imageSizes,
Expand Down

0 comments on commit 83ee858

Please sign in to comment.