mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
16 lines
441 B
JavaScript
16 lines
441 B
JavaScript
const copy = require('recursive-copy');
|
|
const del = require('del');
|
|
|
|
(async () => {
|
|
try {
|
|
await del('./src/components/icon/icons');
|
|
|
|
await Promise.all([
|
|
copy('./node_modules/feather-icons/dist/icons', './src/components/icon/icons', { overwrite: true }),
|
|
copy('./node_modules/feather-icons/LICENSE', './src/components/icon/icons/LICENSE', { overwrite: true })
|
|
]);
|
|
} catch (err) {
|
|
console.error(err);
|
|
}
|
|
})();
|