mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Otherwise you get a `Dependency tracking is disabled` / infinite loop when trying to use both turbopack.rules.loader and turbopackLoader at the same time
16 lines
234 B
JavaScript
16 lines
234 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
turbopack: {
|
|
rules: {
|
|
'*.jsonlike2': {
|
|
loaders: ['test-identity-loader'],
|
|
as: '*.json',
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|