This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Mod postcss to accept directories as input while keeping the directory structure #6
Open
1 of 16 tasks
change the css command in firefund-cli to accept a directory and pass all the files to postcss
Sub tasks:
argument combinations to postcss
--replace
can be replaced with-r
--dir
can be replaced with-d
--output
can be replaced with-o
--replace inputFile
[1]--dir outputDir inputFile
[1]--output outputFile inputFile
[1]--replace inputDir
[5]--dir outputDir inputDir
[2]--output outputFile inputDir
[3]--replace inputFile inputFile ...
[1]--dir outputDir inputFile inputFile
[1.1]--output outputFile inputFile inputFile ...
[1] - postscss will error--replace inputFile inputDir ...
[5]--dir outputDir inputFile inputDir ...
[2]--output outputFile inputFile inputDir ...
[1] - postscss will error--replace inputDir inputDir
[5]--dir outputDir inputDir inputDir ...
[2]--output outputDir inputDir inputDir
[1]- postscss will error--output outputDir inputDir
[4]--output outputDir inputFile
[4]--dir outputFile intputDir
[4]--dir outputFile intputFile
[4]ACTIONS:
[1] - transpile files to output - direct pass on args to postcss
[1.1] direct pass on args to postcss - warn that folder structure is lost
[2] - recursively transpile all files in dir to output dir while retaining the dir structure
[3] -
throw new Error("Can not transpile a directory to a file - yet")
[4] -
throw new Error("output has to be a directory when input is a directory - did you mean to use --dir")
[5] -
throw new Error("Not implemented by postcss-cli")
The text was updated successfully, but these errors were encountered: