Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
chore(webpack): remove css-nano post-css, instead use minimize option…
Browse files Browse the repository at this point in the history
… in css-loader
  • Loading branch information
Johan Girod committed Apr 14, 2017
1 parent e10a0f9 commit 800fcca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/build/webpack.config.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import postcssUrl from 'postcss-url';
import postcssCssNext from 'postcss-cssnext';
import postcssBrowserReporter from 'postcss-browser-reporter';
import postcssReporter from 'postcss-reporter';
import postcssCssNano from 'cssnano';
import { join } from 'path';
import { vitaminResolve, appResolve } from '../utils';
import babelrc from './babelrc';
Expand Down Expand Up @@ -119,7 +118,6 @@ export function config(options) {
postcssImport(),
postcssUrl(),
postcssCssNext({ browsers: options.client.targetBrowsers }),
!options.dev && postcssCssNano({ autoprefixer: false }),
options.dev && postcssBrowserReporter(),
postcssReporter(),
].filter(Boolean),
Expand Down

0 comments on commit 800fcca

Please sign in to comment.