Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Bad configuration ts/latest/guide/webpack #3443

Open
@josueadelima

Description

@josueadelima

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']
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions