File tree 2 files changed +47
-0
lines changed
2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Standard gitignore file
2
+
3
+ # Node.js
4
+ node_modules /
5
+ npm-debug.log
6
+ yarn-error.log
7
+
8
+ # Logs
9
+ logs /
10
+ * .log
11
+ * .log. *
12
+
13
+ # Dependency directories
14
+ jspm_packages /
15
+
16
+ # Optional npm cache directory
17
+ .npm
18
+
19
+ # Optional eslint cache
20
+ .eslintcache
21
+
22
+ # Optional REPL history
23
+ .node_repl_history
24
+
25
+ # Environment variables
26
+ .env
27
+ .env.test
28
+ .env.production
29
+
30
+ # MacOS
31
+ .DS_Store
32
+
33
+ # IDEs and editors
34
+ .idea /
35
+ .vscode /
36
+ * .suo
37
+ * .ntvs *
38
+ * .njsproj
39
+ * .sln
40
+
41
+ # Assets build directory
42
+ assets /build /** /* .css
43
+ assets /build /** /* .map
44
+ assets /build /** /* .js
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ const commonConfig = {
36
36
exclude : / n o d e _ m o d u l e s / ,
37
37
use : {
38
38
loader : 'babel-loader' ,
39
+ options : {
40
+ presets : [ '@babel/preset-react' ]
41
+ }
39
42
} ,
40
43
} ,
41
44
{
You can’t perform that action at this time.
0 commit comments