Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Mar 15, 2024
1 parent 118e63c commit 138d77e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build/copy-less.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function copyLess(name) {
let sourcePath = path.join(root, `packages/${name}`);
let targetPath = path.join(root, `dist/@delon/${name}`);
// index.less
[`index.less`, `theme-default.less`, `theme-dark.less`, `theme-compact.less`]
[`index.less`, `theme-default.less`, `theme-dark.less`, `theme-compact.less`, `theme-variable.less`]
.filter(fileName => fse.existsSync(`${sourcePath}/${fileName}`))
.forEach(fileName => {
fse.copySync(`${sourcePath}/${fileName}`, `${targetPath}/${fileName}`);
Expand All @@ -31,9 +31,11 @@ function copyTheme() {
'default.less',
'dark.less',
'compact.less',
'variable.less',
`theme-default.less`,
`theme-dark.less`,
`theme-compact.less`,
`theme-variable.less`,
].forEach(fileName => {
fse.copySync(path.join(root, `packages/theme/${fileName}`), path.join(root, `dist/@delon/theme/${fileName}`));
});
Expand Down

0 comments on commit 138d77e

Please sign in to comment.