Skip to content

Commit c55e77d

Browse files
committed
Merge branch 'main' into add-disable-ipx-option
2 parents 729a517 + 76d2492 commit c55e77d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

demos/default/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ module.exports = {
8383
includePaths: [path.join(__dirname, 'styles-sass-test')],
8484
},
8585
experimental: {
86-
optimizeCss: true,
86+
optimizeCss: false,
8787
}
8888
}

packages/runtime/src/helpers/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const configureHandlerFunctions = async ({ netlifyConfig, publish, ignore
9292
}
9393

9494
/* eslint-enable no-underscore-dangle */
95-
[HANDLER_FUNCTION_NAME, ODB_FUNCTION_NAME].forEach((functionName) => {
95+
;[HANDLER_FUNCTION_NAME, ODB_FUNCTION_NAME].forEach((functionName) => {
9696
netlifyConfig.functions[functionName] ||= { included_files: [], external_node_modules: [] }
9797
netlifyConfig.functions[functionName].node_bundler = 'nft'
9898
netlifyConfig.functions[functionName].included_files ||= []

test/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,6 @@ describe('onBuild()', () => {
468468
'.next/BUILD_ID',
469469
'.next/static/chunks/webpack-middleware*.js',
470470
'!.next/server/**/*.js.nft.json',
471-
'.next/static/css/1152424140993be6.css',
472-
'.next/static/css/84099ae0bbc955fa.css',
473471
'!../../node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*',
474472
`!node_modules/next/dist/server/lib/squoosh/**/*.wasm`,
475473
`!node_modules/next/dist/next-server/server/lib/squoosh/**/*.wasm`,

0 commit comments

Comments
 (0)