Browse Source

can not found backgound-image

lybenson 5 years ago
parent
commit
0ad02ea0ac
1 changed files with 1 additions and 1 deletions
  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(),
     new webpack.optimize.OccurrenceOrderPlugin(),
     // extract css into its own file
     // 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.
     // generate dist index.html with correct asset hash for caching.
     // you can customize output by editing /index.html
     // you can customize output by editing /index.html
     // see https://github.com/ampedandwired/html-webpack-plugin
     // see https://github.com/ampedandwired/html-webpack-plugin