File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export interface BuildOptions {
12
12
baseHref ?: string ;
13
13
}
14
14
15
- const command = Command . extend ( {
15
+ const BuildCommand = Command . extend ( {
16
16
name : 'build' ,
17
17
description : 'Builds your app and places it into the output path (dist/ by default).' ,
18
18
aliases : [ 'b' ] ,
@@ -64,6 +64,6 @@ const command = Command.extend({
64
64
}
65
65
} ) ;
66
66
67
- command . overrideCore = true ;
68
67
69
- export default command ;
68
+ BuildCommand . overrideCore = true ;
69
+ export default BuildCommand ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface ServeTaskOptions {
28
28
sslCert ?: string ;
29
29
}
30
30
31
- module . exports = Command . extend ( {
31
+ const ServeCommand = Command . extend ( {
32
32
name : 'serve' ,
33
33
description : 'Builds and serves your app, rebuilding on file changes.' ,
34
34
aliases : [ 'server' , 's' ] ,
@@ -148,4 +148,5 @@ module.exports = Command.extend({
148
148
}
149
149
} ) ;
150
150
151
- module . exports . overrideCore = true ;
151
+ ServeCommand . overrideCore = true ;
152
+ export default ServeCommand ;
Original file line number Diff line number Diff line change @@ -48,5 +48,5 @@ const VersionCommand = Command.extend({
48
48
} ) ;
49
49
50
50
51
- module . exports = VersionCommand ;
52
- module . exports . overrideCore = true ;
51
+ VersionCommand . overrideCore = true ;
52
+ export default VersionCommand ;
You can’t perform that action at this time.
0 commit comments