Skip to content

Commit 3773521

Browse files
committed
Remove purify css plugin
1 parent 83f54f1 commit 3773521

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ So far, I manage to put together these following technologies:
1717
* [Bootstrap](http://getbootstrap.com/css/) and [FontAwesome](https://fortawesome.github.io/Font-Awesome/)
1818
* [Redux](https://github.com/rackt/redux)
1919
* [PostCSS](https://github.com/postcss/postcss)
20-
* [PurifyCSS](https://github.com/purifycss/purifycss)
2120
* [CSSNext](http://cssnext.io/)
2221
* [CSSNano](http://cssnano.co/)
2322
* [Mocha](https://mochajs.org/), [Chai](http://chaijs.com/), [Sinon](http://sinonjs.org/), [Nock](https://github.com/pgte/nock) and [Istanbul](https://github.com/gotwarlost/istanbul)

config/webpack/client/production.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
const _ = require('lodash');
44
const config = require('./../../index');
5-
const ROOT = require('./../../path-helper').ROOT;
65
const cssnext = require('postcss-cssnext');
76
const webpack = require('webpack');
87
const ExtractTextPlugin = require('extract-text-webpack-plugin');
9-
const PurifyCssPlugin = require('purifycss-webpack-plugin');
108
const ChunkManifestPlugin = require('chunk-manifest-webpack-plugin');
119
const CompressionPlugin = require('compression-webpack-plugin');
1210
const WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
@@ -60,16 +58,6 @@ productionConfig.plugins.push(
6058
'process.env.SERVER_RENDERING': true,
6159
}),
6260
new ExtractTextPlugin('[name]-[contenthash].css'),
63-
new PurifyCssPlugin({
64-
basePath: ROOT,
65-
paths: [
66-
'app/server/templates/**/*.html',
67-
'app/client/**/*.js',
68-
],
69-
purifyOptions: {
70-
minify: true,
71-
},
72-
}),
7361
new ChunkManifestPlugin({
7462
filename: 'webpack-common-manifest.json',
7563
manfiestVariable: 'webpackManifest',

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"pm2": "^1.1.3",
9797
"postcss-cssnext": "^2.7.0",
9898
"postcss-loader": "^0.9.1",
99-
"purifycss-webpack-plugin": "^2.0.3",
10099
"react": "^15.2.1",
101100
"react-dom": "^15.2.1",
102101
"react-redux": "^4.4.5",

0 commit comments

Comments
 (0)