mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix: only enable preserveSymlinks on build (#5877)
This commit is contained in:
@@ -26,6 +26,7 @@ export const generateTypesDefinitions = async () => {
|
||||
paths: {
|
||||
'@element-plus/*': ['packages/*'],
|
||||
},
|
||||
preserveSymlinks: true,
|
||||
},
|
||||
tsConfigFilePath: TSCONFIG_PATH,
|
||||
skipAddingFilesFromTsConfig: true,
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
"lib": ["ES2018", "DOM"],
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"preserveSymlinks": true
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"include": ["packages"],
|
||||
"exclude": ["node_modules", "**/__test?__", "**/dist"]
|
||||
|
||||
Reference in New Issue
Block a user