mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
fix(build): copy typings (#8098)
This commit is contained in:
parent
d8739fa550
commit
3d00cf7347
@ -26,7 +26,7 @@ export const copyFiles = () =>
|
|||||||
])
|
])
|
||||||
|
|
||||||
export const copyTypesDefinitions: TaskFunction = (done) => {
|
export const copyTypesDefinitions: TaskFunction = (done) => {
|
||||||
const src = path.resolve(buildOutput, 'types')
|
const src = path.resolve(buildOutput, 'types', 'packages')
|
||||||
const copyTypes = (module: Module) =>
|
const copyTypes = (module: Module) =>
|
||||||
withTaskName(`copyTypes:${module}`, () =>
|
withTaskName(`copyTypes:${module}`, () =>
|
||||||
copy(src, buildConfig[module].output.path, { recursive: true })
|
copy(src, buildConfig[module].output.path, { recursive: true })
|
||||||
|
Loading…
Reference in New Issue
Block a user