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