Qyouu
webpack配置:const ExtractTextPlugin = require('extract-text-webpack-plugin')module.exports = {output: {path: path.join(__dirname, './dist'),filename: 'js/[name].js',publicPath: '/dist/'},module: {loaders: [{test: /\.css$/,loader: ExtractTextPlugin.extract({fallbackLoader: 'style',loader: 'css',publicPath: '../'})},]},plugins: [new ExtractTextPlugin({filename: 'css/[name].css',disable: false,allChunks: false})]}