Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/EdwardZZZ/wepy-plugin-parsecss


https://github.com/EdwardZZZ/wepy-plugin-parsecss

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# wepy框架parsecss插件

### install
```base
npm i -D wepy-plugin-parsecss
```

### wepy.config.js
```js
plugins: {
parsecss: {
compressed: false,
// base64
base64Config: {
maxSize: 20,
basePath: __dirname + '/bgimages'
},
// autoprefixer
autoprefixerConfig: {
browsers: ['last 11 iOS versions']
}
}
},
```

### base64 params
- basePath
-- path to put bg-images
-- path to search assets

- maxSize
-- file size in kbytes

### autoprefixer params