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
- Host: GitHub
- URL: https://github.com/jayrbolton/postcss-walk-deprecated
- Owner: jayrbolton
- Created: 2016-12-14T00:32:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T19:16:10.000Z (over 8 years ago)
- Last Synced: 2025-01-04T23:41:29.781Z (4 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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']
})
```