1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +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 webpack = require('webpack');
const path = require('path');
const cssFunctions = require('../src/shared/functions');
const plugins = {
'no-errors-plugin': new webpack.NoErrorsPlugin(),
@ -15,7 +16,9 @@ const plugins = {
require('postcss-import')(),
require('postcss-constants')({}),
require('postcss-at-rules-variables')(),
require('postcss-functions')(require('../src/shared/functions')),
require('postcss-functions')({
functions: cssFunctions
}),
require('postcss-mixins')(),
require('postcss-for'),
require('postcss-cssnext')()