Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #72 from nolanlawson/fix-style-loader
Browse files Browse the repository at this point in the history
Explicitly load style-loader/css-loader deps
  • Loading branch information
Rich-Harris authored Jan 14, 2018
2 parents 727a76e + ca51372 commit 133be03
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions webpack/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ module.exports = {
client: {
entry: () => {
return {
main: entry.client
main: [
entry.client,
// workaround for https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/456
'style-loader/lib/addStyles',
'css-loader/lib/css-base'
]
};
},

Expand Down Expand Up @@ -36,4 +41,4 @@ module.exports = {
};
}
}
};
};

0 comments on commit 133be03

Please sign in to comment.