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
Description
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