mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 12:40:21 +03:00
17 lines
497 B
JavaScript
17 lines
497 B
JavaScript
import path from 'node:path'
|
|
|
|
const repositoryRoot = path.resolve(import.meta.dirname, '../../..')
|
|
const integrationRoot = path.resolve(import.meta.dirname, '../..')
|
|
|
|
export default {
|
|
outputFileTracingRoot: repositoryRoot,
|
|
turbopack: {
|
|
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
|
|
},
|
|
}
|