File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ exports.MainGenerator = class MainGenerator {
4343 this . wrapper . template ( '_.jshintrc' , '.jshintrc' ) ;
4444 this . wrapper . template ( '_.babelrc' , '.babelrc' ) ;
4545
46- this . wrapper . template ( 'tasks/index.js' , 'tasks/index.js' , { clientOnly : _clientOnly } ) ;
46+ this . wrapper . template ( 'tasks/index.js' , 'tasks/index.js' , { nodeServer : _server === ServerFactory . tokens ( ) . NODE && ! _clientOnly } ) ;
4747 this . wrapper . template ( 'tasks/default.js' , 'tasks/default.js' ) ;
4848
4949 this . wrapper . directory ( 'tests/e2e' , 'tests/e2e' ) ;
Original file line number Diff line number Diff line change 11require ( './default' ) ;
22
33require ( 'require-dir' ) ( 'client' ) ;
4- < % if ( ! clientOnly ) { % >
4+ < % if ( nodeServer ) { % >
55require ( 'require-dir' ) ( 'server' ) ;
66< % } % >
You can’t perform that action at this time.
0 commit comments