PostCSS Animate Merge
PostCSS plugin merge animate defined in animate.css.
@
Usage
Check you project for existed PostCSS config: postcss.config.js
in the project root, "postcss"
section in package.json
or postcss
in bundle config.
If you already use PostCSS, add the plugin to plugins list:
module.exports = { plugins: [+ require('postcss-animate-to-json'), require('autoprefixer') ]}
Options
// the following is default value filename: 'animate.css' // the filename of animate.css or its expansion conf: "\.animated.*" // the regexp to `conf` classed path: './' // the base path, filename and json.output will be execute relatived this path json: save: true // if save the json configure load: false // if load json configure. if true, ignore filename output: 'animate.json' // the path to output the json configure file
If you do not use PostCSS, add it according to official docs and set this plugin in settings.