Skip to content

Commit 18bc822

Browse files
committed
WIP
1 parent 2a00a2a commit 18bc822

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

dev.cmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
set NODE_LANG=%1
44
@set NODE_ENV=development
55
@set ASSET_VERSIONING=query
6-
@set WATCH=1
76
@set NODE_PRESERVE_SYMLINKS=1
87
@set NODE_PATH=./modules
98

10-
call gulp dev
9+
call gulp dev | bunyan
1110

1211
goto :eof
1312

edit.cmd

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
@if "%~1"=="" goto usage
22

3-
@set TUTORIAL_ROOT="../javascript-tutorial-%1"
3+
@set TUTORIAL_ROOT=../javascript-tutorial-%1
44

55
@if "%~2"=="" (
6-
@set NODE_LANG=en
6+
set NODE_LANG=en
77
) else (
8-
@set NODE_LANG=%2
8+
set NODE_LANG=%2
99
)
1010

1111
@set NODE_ENV=production
1212
@set TUTORIAL_EDIT=1
1313
@set ASSET_VERSIONING=query
14-
@set WATCH=1
1514
@set NODE_PRESERVE_SYMLINKS=1
1615
@set NODE_PATH=./modules
1716

18-
call gulp edit
17+
call gulp edit | bunyan
1918

2019
goto :eof
2120

2221
:usage
23-
echo Usage: %0 <tutorial language> [<server language>]
24-
exit /B 1
22+
@echo "Usage: %0 <tutorial language> [<server language>]"
23+
@exit /B 1

modules/config/webpack.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ module.exports = function (config) {
133133

134134
module: {
135135
rules: [
136-
{
137-
test: /\.json$/,
138-
use: 'json-loader'
139-
},
140136
{
141137
test: /\.yml$/,
142138
use: ['json-loader', 'yaml-loader']

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"trace": "^3.1.0",
7575
"uglify-es": "^3",
7676
"uglifyjs-webpack-plugin": "^1",
77-
"webpack": "^4",
77+
"webpack": ">=4.17.2",
7878
"yaml-loader": "^0.5.0"
7979
},
8080
"engineStrict": true,

0 commit comments

Comments
 (0)