Skip to content

EdwardZZZ/wepy-plugin-parsecss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wepy框架parsecss插件

install

npm i -D wepy-plugin-parsecss

wepy.config.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

https://github.com/postcss/autoprefixer#options

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published