fix: need to split ts moduleResolution to the tsconfig file
This commit is contained in:
parent
94f7ada8b3
commit
d31720ce14
|
@ -76,13 +76,15 @@ export default function (): PresetAsset {
|
||||||
supplementaryConfig: {
|
supplementaryConfig: {
|
||||||
'gitignore': ['/rollup.config.ts'],
|
'gitignore': ['/rollup.config.ts'],
|
||||||
'rollup': resolve(CONFIGS, 'rollup.yaml'),
|
'rollup': resolve(CONFIGS, 'rollup.yaml'),
|
||||||
|
'tsconfig': {
|
||||||
|
compilerOptions: {
|
||||||
|
moduleResolution: 'nodenext',
|
||||||
|
},
|
||||||
|
},
|
||||||
'tsconfig.build': {
|
'tsconfig.build': {
|
||||||
include: ['{buildSource}'],
|
include: ['{buildSource}'],
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
outDir: '{source}',
|
outDir: '{source}',
|
||||||
compilerOptions: {
|
|
||||||
moduleResolution: 'nodenext',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue