1 // ------------------------------------
2 // #POSTCSS - LOAD OPTIONS - OPTIONS
3 // ------------------------------------
11 * @param {Object} options PostCSS Config
13 * @return {Object} options PostCSS Options
15 module.exports = function options (options) {
16 if (options.parser && typeof options.parser === 'string') {
17 options.parser = require(options.parser)
20 if (options.syntax && typeof options.syntax === 'string') {
21 options.syntax = require(options.syntax)
24 if (options.stringifier && typeof options.stringifier === 'string') {
25 options.stringifier = require(options.stringifier)
28 if (options.plugins) {
29 delete options.plugins