File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as __rollup from 'rollup' ;
2
2
import * as nodeResolve from 'rollup-plugin-node-resolve' ;
3
3
import * as commonJs from 'rollup-plugin-commonjs' ;
4
- import { debug } from '../util/log' ;
4
+ import * as log from '../util/log' ;
5
5
import { ROLLUP_GLOBALS } from '../conf/rollup.globals' ;
6
6
7
7
export interface RollupOptions {
@@ -39,7 +39,7 @@ export async function rollup(opts: RollupOptions): Promise<void> {
39
39
return ;
40
40
}
41
41
42
- console . warn ( warning . message ) ;
42
+ log . warn ( warning . message ) ;
43
43
}
44
44
} ;
45
45
@@ -54,7 +54,7 @@ export async function rollup(opts: RollupOptions): Promise<void> {
54
54
sourcemap : true
55
55
} ;
56
56
57
- debug ( `rollup ${ opts . entry } to ${ opts . dest } (${ opts . format } )` ) ;
57
+ log . debug ( `rollup ${ opts . entry } to ${ opts . dest } (${ opts . format } )` ) ;
58
58
59
59
const bundle : any = await __rollup . rollup ( bundleOptions ) ;
60
60
await bundle . write ( writeOptions ) ;
You can’t perform that action at this time.
0 commit comments