Skip to content

Commit 5b27aef

Browse files
committed
Forgot a few exports
1 parent f4ea8a6 commit 5b27aef

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

addon/ng2/commands/build.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface BuildOptions {
1212
baseHref?: string;
1313
}
1414

15-
const command = Command.extend({
15+
const BuildCommand = Command.extend({
1616
name: 'build',
1717
description: 'Builds your app and places it into the output path (dist/ by default).',
1818
aliases: ['b'],
@@ -64,6 +64,6 @@ const command = Command.extend({
6464
}
6565
});
6666

67-
command.overrideCore = true;
6867

69-
export default command;
68+
BuildCommand.overrideCore = true;
69+
export default BuildCommand;

addon/ng2/commands/serve.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface ServeTaskOptions {
2828
sslCert?: string;
2929
}
3030

31-
module.exports = Command.extend({
31+
const ServeCommand = Command.extend({
3232
name: 'serve',
3333
description: 'Builds and serves your app, rebuilding on file changes.',
3434
aliases: ['server', 's'],
@@ -148,4 +148,5 @@ module.exports = Command.extend({
148148
}
149149
});
150150

151-
module.exports.overrideCore = true;
151+
ServeCommand.overrideCore = true;
152+
export default ServeCommand;

addon/ng2/commands/version.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ const VersionCommand = Command.extend({
4848
});
4949

5050

51-
module.exports = VersionCommand;
52-
module.exports.overrideCore = true;
51+
VersionCommand.overrideCore = true;
52+
export default VersionCommand;

0 commit comments

Comments
 (0)