1.0.0 • Published 4 years ago

postcss-raw-append v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

PostCSS Raw Append

PostCSS plugin to append a raw block of css to a file..

.foo {}
opts = {
	data: '.bar {}',
};
.foo {}

.bar {}

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-raw-append'),
    require('autoprefixer')
  ]
}

If you do not use PostCSS, add it according to official docs and set this plugin in settings.