mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
16 lines
361 B
JavaScript
16 lines
361 B
JavaScript
|
const glob = require('../lib/glob');
|
||
|
const { ROOT } = require('./resolve');
|
||
|
const actions = require('./actions');
|
||
|
|
||
|
module.exports = exports = async function svgIcons () {
|
||
|
const files = await glob('svg/**/*.svg', { cwd: ROOT });
|
||
|
|
||
|
const tasks = files.map((f) => ({
|
||
|
input: f,
|
||
|
output: 'images/' + f,
|
||
|
action: actions.copy,
|
||
|
}));
|
||
|
|
||
|
return tasks;
|
||
|
};
|