diff --git a/postcss.config.js b/postcss.config.js index f053ebf..afeb286 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1 +1,5 @@ -module.exports = {}; +module.exports = { + plugins: [ + require('autoprefixer') + ] +} \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 60cb47e..4390fca 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: { @@ -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/*': { @@ -93,13 +85,6 @@ module.exports = { // target: proxyIp, // secure: false // }, - // '/toyAward2016/*':{ - // target: proxyIp, - // secure: false - // } - // }, - // stats: { - // colors: true // }, // }, } diff --git a/webpack.production.config.js b/webpack.production.config.js index 83aa330..0ee3b5c 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -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'); @@ -75,7 +74,6 @@ const config = { from: path.resolve(__dirname, "src/index.html"), to: path.resolve(__dirname, "build/index.html") }]), - autoprefixer, // ExtractVendor, // ExtractMain, function() {