File tree 4 files changed +15
-5
lines changed
4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ of patent rights can be found in the PATENTS file in the same directory.
57
57
WorkingDirectory=" src/React.Core"
58
58
Command=" npm install"
59
59
/>
60
+ <Exec
61
+ WorkingDirectory=" src/React.Sample.Webpack"
62
+ Command=" npm install"
63
+ />
60
64
</Target >
61
65
62
66
<Target Name =" UpdateVersion" >
@@ -110,6 +114,7 @@ of patent rights can be found in the PATENTS file in the same directory.
110
114
<Target Name =" Build" DependsOnTargets =" RestorePackages;UpdateVersion" >
111
115
<Exec WorkingDirectory =" src/React.Core" Command =" node_modules/.bin/gulp" />
112
116
<MSBuild Projects =" $(SolutionFile)" Targets =" Rebuild" Properties =" Configuration=Release;Platform=Any CPU;NoWarn=1607,7035" />
117
+ <Exec WorkingDirectory =" src/React.Sample.Webpack" Command =" node_modules/.bin/webpack" />
113
118
</Target >
114
119
115
120
<Target Name =" ResetAspNetVersion" AfterTargets =" Build" >
Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [" es2015" , " react" ]
3
+ }
Original file line number Diff line number Diff line change 9
9
"author" : " " ,
10
10
"license" : " BSD" ,
11
11
"devDependencies" : {
12
- "babel-core" : " ^5.8.25" ,
13
- "babel-loader" : " ^5.3.2" ,
14
- "expose-loader" : " ^0.6.0" ,
15
- "webpack" : " ^1.12.2"
12
+ "babel-core" : " ^6.3.17" ,
13
+ "babel-loader" : " ^6.2.0" ,
14
+ "babel-preset-es2015" : " ^6.3.13" ,
15
+ "babel-preset-react" : " ^6.3.13" ,
16
+ "expose-loader" : " ^0.7.1" ,
17
+ "webpack" : " ^1.12.9"
16
18
}
17
19
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ module.exports = {
25
25
{
26
26
test : / \. j s x ? $ / ,
27
27
exclude : / n o d e _ m o d u l e s / ,
28
- loader : 'babel-loader?loose=all&stage=1 '
28
+ loader : 'babel'
29
29
}
30
30
// Uncomment this if you want to use your own version of React instead of the version
31
31
// bundled with ReactJS.NET.
You can’t perform that action at this time.
0 commit comments