浏览代码

can not found backgound-image

lybenson 5 年之前
父节点
当前提交
0ad02ea0ac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      build/webpack.prod.conf.js

+ 1 - 1
build/webpack.prod.conf.js

@@ -33,7 +33,7 @@ var webpackConfig = merge(baseWebpackConfig, {
     }),
     new webpack.optimize.OccurrenceOrderPlugin(),
     // extract css into its own file
-    new ExtractTextPlugin(utils.assetsPath('css/[name].[contenthash].css')),
+    new ExtractTextPlugin('[name].[contenthash].css'),
     // generate dist index.html with correct asset hash for caching.
     // you can customize output by editing /index.html
     // see https://github.com/ampedandwired/html-webpack-plugin