mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
23 lines
456 B
JavaScript
23 lines
456 B
JavaScript
// CommonJS configuration with variable declaration and modification
|
|
const config = {
|
|
experimental: {
|
|
turbo: {
|
|
resolveAlias: {
|
|
underscore: 'lodash',
|
|
},
|
|
},
|
|
turbopackMemoryLimit: 4096,
|
|
typedRoutes: true,
|
|
},
|
|
};
|
|
|
|
// Add additional configuration before export
|
|
config.images = {
|
|
formats: ['image/avif', 'image/webp']
|
|
};
|
|
|
|
// Add more to turbo config
|
|
config.experimental.turbo.sourceMaps = true;
|
|
|
|
module.exports = config;
|