Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed Oct 2, 2024
1 parent b6b229b commit df97dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default withDocsInfra({
// We only care about Node runtime at this point.
(options.nextRuntime === undefined || options.nextRuntime === 'nodejs')
) {
const externals = config.externals.slice(0, config.externals.length - 2);
const externals = config.externals.slice(0, -1);
const nextExternals = config.externals.at(-1);

config.externals = [
Expand Down

0 comments on commit df97dca

Please sign in to comment.