Skip to content

Commit

Permalink
webpack autoprefixer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaco committed Mar 6, 2017
1 parent f8fcf4e commit c2a192a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
6 changes: 5 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
module.exports = {};
module.exports = {
plugins: [
require('autoprefixer')
]
}
15 changes: 0 additions & 15 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const path = require('path');
const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');
// const OpenBrowserPlugin = require('open-browser-webpack-plugin');
const autoprefixer = require('autoprefixer');
// const proxyIp = `http://121.41.51.24:4400`;
module.exports = {
entry: {
Expand Down Expand Up @@ -61,16 +59,10 @@ module.exports = {
jQuery: "jquery",
"window.jQuery": "jquery"
}),
// new OpenBrowserPlugin({
// url: 'http://localhost:8081'
// }),
autoprefixer
],
// devServer: {
// contentBase: path.join(__dirname, "src"),
// hot: true,
// progress: true,
// inline: true,
// port: 8081,
// proxy: {
// '/query/*': {
Expand All @@ -93,13 +85,6 @@ module.exports = {
// target: proxyIp,
// secure: false
// },
// '/toyAward2016/*':{
// target: proxyIp,
// secure: false
// }
// },
// stats: {
// colors: true
// },
// },
}
2 changes: 0 additions & 2 deletions webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const node_modules_dir = path.resolve(__dirname, 'node_modules');
// const ExtractTextPlugin = require('extract-text-webpack-plugin');
const autoprefixer = require('autoprefixer');
const cheerio = require('cheerio');
const fs = require('fs');

Expand Down Expand Up @@ -75,7 +74,6 @@ const config = {
from: path.resolve(__dirname, "src/index.html"),
to: path.resolve(__dirname, "build/index.html")
}]),
autoprefixer,
// ExtractVendor,
// ExtractMain,
function() {
Expand Down

0 comments on commit c2a192a

Please sign in to comment.