fix: need to split ts moduleResolution to the tsconfig file

This commit is contained in:
Derrick Hammer 2023-07-02 00:46:20 -04:00
parent 94f7ada8b3
commit d31720ce14
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 3 deletions

View File

@ -76,13 +76,15 @@ export default function (): PresetAsset {
supplementaryConfig: {
'gitignore': ['/rollup.config.ts'],
'rollup': resolve(CONFIGS, 'rollup.yaml'),
'tsconfig': {
compilerOptions: {
moduleResolution: 'nodenext',
},
},
'tsconfig.build': {
include: ['{buildSource}'],
compilerOptions: {
outDir: '{source}',
compilerOptions: {
moduleResolution: 'nodenext',
},
},
},
},