webpack如下:constextextextplugin=require(“extracttextwebpackplugin”)模块.exports={输出:{路径:path.join(uudirname,“../dist”),文件名:“js/[name].js”,公共路径:“/dist/”},模块:{loaders:[{test:/.css$/加载程序:extracttextplugin.extract({fallbackloader:“style”,loader:“css”,publicpath:“../”})},]},插件:[newextracttextplugin({filename:“css/[name].css”禁用:false,allchunks:错误})]}