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
8a5c50d9
Commit
8a5c50d9
authored
8 years ago
by
Vadzim
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
https://github.com/facebookincubator/create-react-app/issues/952
(#953)
parent
fcda24ee
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/eslint-config-react-app/index.js
+1
-1
packages/eslint-config-react-app/index.js
packages/react-scripts/utils/createJestConfig.js
+1
-1
packages/react-scripts/utils/createJestConfig.js
with
2 additions
and
2 deletions
+2
-2
packages/eslint-config-react-app/index.js
+
1
-
1
View file @
8a5c50d9
...
@@ -44,7 +44,7 @@ module.exports = {
...
@@ -44,7 +44,7 @@ module.exports = {
settings
:
{
settings
:
{
'
import/ignore
'
:
[
'
import/ignore
'
:
[
'
node_modules
'
,
'
node_modules
'
,
'
\\
.(json|css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$
'
,
'
\\
.(json|css|
ico|
jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$
'
,
],
],
'
import/extensions
'
:
[
'
.js
'
],
'
import/extensions
'
:
[
'
.js
'
],
'
import/resolver
'
:
{
'
import/resolver
'
:
{
...
...
This diff is collapsed.
Click to expand it.
packages/react-scripts/utils/createJestConfig.js
+
1
-
1
View file @
8a5c50d9
...
@@ -21,7 +21,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
...
@@ -21,7 +21,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
collectCoverageFrom
:
[
'
src/**/*.{js,jsx}
'
],
collectCoverageFrom
:
[
'
src/**/*.{js,jsx}
'
],
moduleFileExtensions
:
[
'
jsx
'
,
'
js
'
,
'
json
'
],
moduleFileExtensions
:
[
'
jsx
'
,
'
js
'
,
'
json
'
],
moduleNameMapper
:
{
moduleNameMapper
:
{
'
^.+
\\
.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$
'
:
resolve
(
'
config/jest/FileStub.js
'
),
'
^.+
\\
.(
ico|
jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$
'
:
resolve
(
'
config/jest/FileStub.js
'
),
'
^.+
\\
.css$
'
:
resolve
(
'
config/jest/CSSStub.js
'
)
'
^.+
\\
.css$
'
:
resolve
(
'
config/jest/CSSStub.js
'
)
},
},
setupFiles
:
[
resolve
(
'
config/polyfills.js
'
)],
setupFiles
:
[
resolve
(
'
config/polyfills.js
'
)],
...
...
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