Skip to content

Commit

Permalink
fix(@angular/cli): improve bootstrapping time (#4537)
Browse files Browse the repository at this point in the history
The xi18n command was loading everything which was slowing down starting times.
  • Loading branch information
hansl authored Feb 8, 2017
1 parent b8328dc commit 6b26f91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@angular/cli/commands/xi18n.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const Command = require('../ember-cli/lib/models/command');

import {Extracti18nTask} from '../tasks/extract-i18n';

export interface Xi18nOptions {
outputPath?: string;
verbose?: boolean;
Expand All @@ -25,6 +23,7 @@ const Xi18nCommand = Command.extend({

],
run: function (commandOptions: any) {
const {Extracti18nTask} = require('../tasks/extract-i18n');

const xi18nTask = new Extracti18nTask({
ui: this.ui,
Expand Down

0 comments on commit 6b26f91

Please sign in to comment.