2026-07-13 20:08:31 +03:00
|
|
|
import path from 'node:path'
|
|
|
|
|
|
2026-07-14 09:54:36 +03:00
|
|
|
const repositoryRoot = path.resolve(import.meta.dirname, '../../..')
|
2026-07-13 20:08:31 +03:00
|
|
|
const integrationRoot = path.resolve(import.meta.dirname, '../..')
|
|
|
|
|
|
|
|
|
|
export default {
|
2026-07-14 09:54:36 +03:00
|
|
|
outputFileTracingRoot: repositoryRoot,
|
2026-07-13 20:08:31 +03:00
|
|
|
turbopack: {
|
2026-07-14 09:54:36 +03:00
|
|
|
root: repositoryRoot,
|
|
|
|
|
},
|
|
|
|
|
webpack(config) {
|
|
|
|
|
config.resolve.alias.react = path.resolve(integrationRoot, 'node_modules/react')
|
|
|
|
|
config.resolve.alias['react-dom'] = path.resolve(integrationRoot, 'node_modules/react-dom')
|
|
|
|
|
return config
|
2026-07-13 20:08:31 +03:00
|
|
|
},
|
|
|
|
|
}
|