-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The loader seems to not take into account the context webpack key.
If I do this with my all my code in the client folder:
module.exports = {
context: path.join(__dirname, '/client'),
module: {
loaders: [
{
test: /\.jade$/,
include: path.resolve(__dirname, "src"),
loader: 'jade-react'
}
]
}
Then the files don't get picked up and I have errors of the type:
You may need an appropriate loader to handle this file type.
If I change the above to
module.exports = {
context: path.join(__dirname, '/client'),
module: {
loaders: [
{
test: /\.jade$/,
include: path.resolve(__dirname, "client/src"),
loader: 'jade-react'
}
]
}
Then things work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels