1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

fixing css functions config object

This commit is contained in:
Alex Windett 2016-10-31 11:00:18 +00:00
parent d69a549902
commit b398ca3bc9

View File

@ -1,6 +1,7 @@
const ExtractTextPlugin = require('extract-text-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin');
const webpack = require('webpack'); const webpack = require('webpack');
const path = require('path'); const path = require('path');
const cssFunctions = require('../src/shared/functions');
const plugins = { const plugins = {
'no-errors-plugin': new webpack.NoErrorsPlugin(), 'no-errors-plugin': new webpack.NoErrorsPlugin(),
@ -15,7 +16,9 @@ const plugins = {
require('postcss-import')(), require('postcss-import')(),
require('postcss-constants')({}), require('postcss-constants')({}),
require('postcss-at-rules-variables')(), require('postcss-at-rules-variables')(),
require('postcss-functions')(require('../src/shared/functions')), require('postcss-functions')({
functions: cssFunctions
}),
require('postcss-mixins')(), require('postcss-mixins')(),
require('postcss-for'), require('postcss-for'),
require('postcss-cssnext')() require('postcss-cssnext')()