hurr
This commit is contained in:
parent
b25e0d7390
commit
69d4572635
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ module.exports = function(env) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
process: async (task, vars) => {
|
process: async (task, vars) => {
|
||||||
const srcPath = path.join(env.source, task.source);
|
const srcPath = pathJoin(env.source, task.source);
|
||||||
|
|
||||||
const output = await pcss.process(
|
const output = await pcss.process(
|
||||||
await combine.folder(srcPath, {
|
await combine.folder(srcPath, {
|
||||||
|
|
|
@ -11,7 +11,7 @@ module.exports = function(env) {
|
||||||
body = { ...body, ...task.body };
|
body = { ...body, ...task.body };
|
||||||
|
|
||||||
if(typeof task.icons === 'string') {
|
if(typeof task.icons === 'string') {
|
||||||
const iconsDir = path.join(env.public, task.icons);
|
const iconsDir = pathJoin(env.public, task.icons);
|
||||||
|
|
||||||
if(fs.existsSync(iconsDir)) {
|
if(fs.existsSync(iconsDir)) {
|
||||||
const files = (await fs.promises.readdir(iconsDir)).sort((a, b) => a.localeCompare(b, undefined, {
|
const files = (await fs.promises.readdir(iconsDir)).sort((a, b) => a.localeCompare(b, undefined, {
|
||||||
|
|
Loading…
Reference in a new issue