Skip to content

Commit 6d859ba

Browse files
bebbialexdriaguine
authored andcommitted
exclude html from default loader. (facebook#1075)
1 parent b2a9cad commit 6d859ba

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/react-scripts/config/webpack.config.dev.js

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ module.exports = {
124124
// A missing `test` is equivalent to a match.
125125
{
126126
exclude: [
127+
/\.(html)$/,
127128
/\.(js|jsx)$/,
128129
/\.css$/,
129130
/\.json$/

packages/react-scripts/config/webpack.config.prod.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ module.exports = {
132132
// A missing `test` is equivalent to a match.
133133
{
134134
exclude: [
135+
/\.(html)$/,
135136
/\.(js|jsx)$/,
136137
/\.css$/,
137138
/\.json$/

0 commit comments

Comments
 (0)