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: {
|
||||
'gitignore': ['/rollup.config.ts'],
|
||||
'rollup': resolve(CONFIGS, 'rollup.yaml'),
|
||||
'tsconfig': {
|
||||
compilerOptions: {
|
||||
moduleResolution: 'nodenext',
|
||||
},
|
||||
},
|
||||
'tsconfig.build': {
|
||||
include: ['{buildSource}'],
|
||||
compilerOptions: {
|
||||
outDir: '{source}',
|
||||
compilerOptions: {
|
||||
moduleResolution: 'nodenext',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue