对于postcss没有configuration文件的错误,只需要在根目录里面,新建一个postcss.config.js文件,之后在文件里面,写上    module.exports = {}。 放在那里不用管就可以了,一路坎坷,一路坑,继续前进呀。
按照以上方法,虽然没有报错。但是还是没有成功生成样式前缀???
                按照以上方法,虽然没有报错。但是还是没有成功生成样式前缀???
                    
                    2017-03-02
                
            module:{
module:{......},
rules:[
{test:/\.css$/,
use:[{loader:'style-loader',},{loader:'css-loader', },{loader:'postcss-loader', options:{plugins:function () {return [require('autoprefixer')({browsers:["last 5 versions"]})];}}}]
}
]
},
                module:{......},
rules:[
{test:/\.css$/,
use:[{loader:'style-loader',},{loader:'css-loader', },{loader:'postcss-loader', options:{plugins:function () {return [require('autoprefixer')({browsers:["last 5 versions"]})];}}}]
}
]
},
                    
                    2017-03-01
                
            Conflict: Multiple assets emit to the same filename bundle.js
报这个错的先别急,老师后面有讲。
估计我们版本更高,有报错,老师那个版本不会报错。
他是为了举个例子,讲解filename: '[name].js'
                报这个错的先别急,老师后面有讲。
估计我们版本更高,有报错,老师那个版本不会报错。
他是为了举个例子,讲解filename: '[name].js'
                    
                    2017-03-01
                
            补充下:如果想要和老师的目录一样   在.bin 目录下执行   webpack  ../../hello.js ../../hello.bundle.js
                
                    
                    2017-03-01
                
            Windows系统下提示“webpack”不是内部命令 。要进入node_modules/.bin/目录下 
在执行webpack ../../hello.js hello.bundle.js 这样就可以了
                在执行webpack ../../hello.js hello.bundle.js 这样就可以了
                    
                    2017-03-01
                
             
             
        