An open API service indexing awesome lists of open source software.

https://github.com/jayrbolton/postcss-walk-deprecated

Recursively walk directories, compiling index CSS files and copying assets to a build directory
https://github.com/jayrbolton/postcss-walk-deprecated

Last synced: 2 months ago
JSON representation

Recursively walk directories, compiling index CSS files and copying assets to a build directory

Awesome Lists containing this project

README

        

# postcss-walk

Recursively walk through a directory, compiling index files and copying assets into an output directory. Useful for multipage apps with many CSS main files. Also see postcss-watch, which uses this plus watches files.

```js
import postcssWalk from 'postcss-walk'

postcssWalk({
input: 'input/directory'
, output: 'output/directory'
, plugins: [ require('postcss-import') , require('precss') ]
, log: true
, copyAssets: ['jpg', 'png', 'otf', 'tiff']
})
```