Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
cd815aaf
Commit
cd815aaf
authored
8 years ago
by
Dan Abramov
Browse files
Options
Download
Email Patches
Plain Diff
Check for JS files first
parent
731908dc
1 merge request
!353
Add check-filename-webpack-plugin to warn on JSX file extension
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/webpack.config.dev.js
+1
-1
config/webpack.config.dev.js
config/webpack.config.prod.js
+1
-1
config/webpack.config.prod.js
with
2 additions
and
2 deletions
+2
-2
config/webpack.config.dev.js
+
1
-
1
View file @
cd815aaf
...
@@ -32,7 +32,7 @@ module.exports = {
...
@@ -32,7 +32,7 @@ module.exports = {
publicPath
:
'
/
'
publicPath
:
'
/
'
},
},
resolve
:
{
resolve
:
{
extensions
:
[
''
,
'
.js
'
,
'
.json
'
],
extensions
:
[
'
.js
'
,
'
.json
'
,
''
],
alias
:
{
alias
:
{
// This `alias` section can be safely removed after ejection.
// This `alias` section can be safely removed after ejection.
// We do this because `babel-runtime` may be inside `react-scripts`,
// We do this because `babel-runtime` may be inside `react-scripts`,
...
...
This diff is collapsed.
Click to expand it.
config/webpack.config.prod.js
+
1
-
1
View file @
cd815aaf
...
@@ -37,7 +37,7 @@ module.exports = {
...
@@ -37,7 +37,7 @@ module.exports = {
publicPath
:
publicPath
publicPath
:
publicPath
},
},
resolve
:
{
resolve
:
{
extensions
:
[
''
,
'
.js
'
,
'
.json
'
],
extensions
:
[
'
.js
'
,
'
.json
'
,
''
],
alias
:
{
alias
:
{
// This `alias` section can be safely removed after ejection.
// This `alias` section can be safely removed after ejection.
// We do this because `babel-runtime` may be inside `react-scripts`,
// We do this because `babel-runtime` may be inside `react-scripts`,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets