Skip to content

Commit

Permalink
Disable some config things #45
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Dec 20, 2022
1 parent e727124 commit 8905bcb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ const { i18n } = require('./next-i18next.config');

module.exports = withBundleAnalyzer({
i18n,
reloadOnPrerender: true,
poweredByHeader: false,
trailingSlash: true,
reactStrictMode: true,
// Fixes a problem with building on AWS Amplify
// https://answers.netlify.com/t/build-with-next-i18next-error-error-cannot-find-module-next-i18next-config-js/34132/4
// https://github.com/aws-amplify/amplify-console/issues/2427
target: 'experimental-serverless-trace',
});

0 comments on commit 8905bcb

Please sign in to comment.