mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 18:05:47 +08:00
exclude html from default loader. (#1075)
This commit is contained in:
@@ -124,6 +124,7 @@ module.exports = {
|
||||
// A missing `test` is equivalent to a match.
|
||||
{
|
||||
exclude: [
|
||||
/\.(html)$/,
|
||||
/\.(js|jsx)$/,
|
||||
/\.css$/,
|
||||
/\.json$/
|
||||
|
||||
@@ -132,6 +132,7 @@ module.exports = {
|
||||
// A missing `test` is equivalent to a match.
|
||||
{
|
||||
exclude: [
|
||||
/\.(html)$/,
|
||||
/\.(js|jsx)$/,
|
||||
/\.css$/,
|
||||
/\.json$/
|
||||
|
||||
Reference in New Issue
Block a user