Skip to content

Commit

Permalink
exclude html from default loader. (facebook#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
bebbi authored and jarlef committed Nov 28, 2016
1 parent 27d6e93 commit c76b721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ module.exports = {
// A missing `test` is equivalent to a match.
{
exclude: [
/\.(html)$/,
/\.(js|jsx)$/,
/\.css$/,
/\.json$/
Expand Down
1 change: 1 addition & 0 deletions packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ module.exports = {
// A missing `test` is equivalent to a match.
{
exclude: [
/\.(html)$/,
/\.(js|jsx)$/,
/\.css$/,
/\.json$/
Expand Down

0 comments on commit c76b721

Please sign in to comment.