angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

Bad configuration ts/latest/guide/webpack

Open josueadelima opened this issue 9 years ago • 1 comments

Hi, webpack.common.js have this configuration

{
  test: /\.css$/,
  include: helpers.root('src', 'app'),
  loaders: 'raw-loader'
}

This doesn't work well with background-image, images are hashed with file-loader, only using raw-loader makes the images url broken (beacause there is no hash), its better to change the confiruation like this:

{
  test: /\.css$/,
  include: helpers.root('src', 'app'),
  loaders: ['css-to-string-loader','css-loader']
}

josueadelima avatar Mar 26 '17 08:03 josueadelima

Thanks. I need to investigate.

Foxandxss avatar Apr 10 '17 15:04 Foxandxss