bundle more stuff

This commit is contained in:
Rich Harris
2018-08-19 16:15:04 -04:00
parent dba83641e4
commit e0d533f2ea
9 changed files with 35 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
import { build as _build } from '../api/build';
import * as colors from 'ansi-colors';
import colors from 'kleur';
import { locations } from '../config';
export function build() {

View File

@@ -1,5 +1,5 @@
import * as path from 'path';
import * as colors from 'ansi-colors';
import colors from 'kleur';
import * as child_process from 'child_process';
import prettyMs from 'pretty-ms';
import { dev as _dev } from '../api/dev';

View File

@@ -1,5 +1,5 @@
import { exporter as _exporter } from '../api/export';
import * as colors from 'ansi-colors';
import colors from 'kleur';
import prettyBytes from 'pretty-bytes';
import { locations } from '../config';

View File

@@ -1,7 +1,7 @@
import * as fs from 'fs';
import * as path from 'path';
import * as child_process from 'child_process';
import * as colors from 'ansi-colors';
import colors from 'kleur';
import * as ports from 'port-authority';
export async function start(dir: string, opts: { port: number, open: boolean }) {

View File

@@ -1,5 +1,5 @@
import * as fs from 'fs';
import * as colors from 'ansi-colors';
import colors from 'kleur';
export default async function upgrade() {
const upgraded = [