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

Bad configuration ts/latest/guide/webpack #3443

Open
josueadelima opened this issue Mar 26, 2017 · 1 comment
Open

Bad configuration ts/latest/guide/webpack #3443

josueadelima opened this issue Mar 26, 2017 · 1 comment
Assignees

Comments

@josueadelima
Copy link

josueadelima commented Mar 26, 2017

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 josueadelima changed the title Wrong configuration ts/latest/guide/webpack Bad configuration ts/latest/guide/webpack Mar 26, 2017
@Foxandxss Foxandxss self-assigned this Apr 10, 2017
@Foxandxss
Copy link
Member

Thanks. I need to investigate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants