Fix includes and excludes.
This commit is contained in:
parent
156d5099d5
commit
247ece861e
@ -75,6 +75,7 @@ module.exports = {
|
|||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
test: /\.html$/,
|
test: /\.html$/,
|
||||||
|
include: helpers.root('src'),
|
||||||
loader: 'html-loader'
|
loader: 'html-loader'
|
||||||
}, {
|
}, {
|
||||||
test: /\.less$/,
|
test: /\.less$/,
|
||||||
@ -85,14 +86,14 @@ module.exports = {
|
|||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
exclude: helpers.root('src', 'app'),
|
exclude: helpers.root('src'),
|
||||||
loader: ExtractTextPlugin.extract({
|
loader: ExtractTextPlugin.extract({
|
||||||
fallback: 'style-loader',
|
fallback: 'style-loader',
|
||||||
use: 'css-loader?sourceMap'
|
use: 'css-loader?sourceMap'
|
||||||
})
|
})
|
||||||
}, {
|
}, {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
include: helpers.root('src', 'app'),
|
include: helpers.root('src'),
|
||||||
loader: 'raw-loader'
|
loader: 'raw-loader'
|
||||||
}, {
|
}, {
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
|
Loading…
Reference in New Issue
Block a user