Skip to content

Commit

Permalink
force autoprefixer off during minification
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallistersean committed Jun 23, 2016
1 parent 0dd072e commit ded7c87
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 28 deletions.
6 changes: 3 additions & 3 deletions frontend/config/webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ module.exports = (opts) => {
resolve: {extensions: ['', '.js']},
module: {
loaders: [
{test: /\.css$/, loaders: ['style', 'css', 'postcss']},
{test: /\.scss$/, loaders: ['style', 'css', 'postcss', 'sass']},
{test: /\.css$/, loaders: ['style', 'css?-autoprefixer', 'postcss']},
{test: /\.scss$/, loaders: ['style', 'css?-autoprefixer', 'postcss', 'sass']},
{
test: /\.woff2?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: "url?limit=10000"
Expand Down Expand Up @@ -90,7 +90,7 @@ module.exports = (opts) => {
postcss: function () {
return [
precss,
autoprefixer({ browsers: ['last 2 versions', 'Safari 8'] })
autoprefixer
];
}

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions frontend/production/vendor.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/production/webpack-stats-production.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"status":"done","chunks":{"vendor":[{"name":"vendor.bundle.js","publicPath":"/static/wp/vendor.bundle.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/vendor.bundle.js"}],"main":[{"name":"main-2a6bef8db98dd06da1e0.js","publicPath":"/static/wp/main-2a6bef8db98dd06da1e0.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/main-2a6bef8db98dd06da1e0.js"}],"b2MapSelector":[{"name":"b2MapSelector-2a6bef8db98dd06da1e0.js","publicPath":"/static/wp/b2MapSelector-2a6bef8db98dd06da1e0.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/b2MapSelector-2a6bef8db98dd06da1e0.js"}],"editor":[{"name":"editor-2a6bef8db98dd06da1e0.js","publicPath":"/static/wp/editor-2a6bef8db98dd06da1e0.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/editor-2a6bef8db98dd06da1e0.js"}]},"publicPath":"/static/wp/"}
{"status":"done","chunks":{"vendor":[{"name":"vendor.bundle.js","publicPath":"/static/wp/vendor.bundle.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/vendor.bundle.js"}],"main":[{"name":"main-a1586fbc2b2b0821a406.js","publicPath":"/static/wp/main-a1586fbc2b2b0821a406.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/main-a1586fbc2b2b0821a406.js"}],"b2MapSelector":[{"name":"b2MapSelector-a1586fbc2b2b0821a406.js","publicPath":"/static/wp/b2MapSelector-a1586fbc2b2b0821a406.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/b2MapSelector-a1586fbc2b2b0821a406.js"}],"editor":[{"name":"editor-a1586fbc2b2b0821a406.js","publicPath":"/static/wp/editor-a1586fbc2b2b0821a406.js","path":"/home/sean/src/b2-issue-tracker/frontend/production/editor-a1586fbc2b2b0821a406.js"}]},"publicPath":"/static/wp/"}

0 comments on commit ded7c87

Please sign in to comment.