File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import chalk from 'chalk';
2
2
import logSymbols from 'log-symbols' ;
3
3
import ora from 'ora' ;
4
4
import path from 'path' ;
5
- import { getProjectAndServerConfig } from '../config/getProjectAndServerConfig' ;
5
+ import { getProjectConfig } from '../config/getProjectAndServerConfig' ;
6
6
import { Callbacks , Pack } from '../scripts/Pack' ;
7
7
import { ProgramOptions } from './index' ;
8
8
import {
@@ -37,22 +37,15 @@ export function pack(options: ProgramOptions | undefined): void {
37
37
) } `
38
38
) ;
39
39
try {
40
- const {
41
- projectConfig,
42
- serverConfig,
43
- projectConfigPath,
44
- serverConfigPath,
45
- } = getProjectAndServerConfig ( cwd , options ) ;
40
+ const { projectConfig, projectConfigPath } = getProjectConfig (
41
+ cwd ,
42
+ options
43
+ ) ;
46
44
console . log (
47
45
`${ logSymbols . success } project config: ${ chalk . cyan (
48
46
path . relative ( cwd , projectConfigPath )
49
47
) } `
50
48
) ;
51
- console . log (
52
- `${ logSymbols . success } server config: ${ chalk . cyan (
53
- path . relative ( cwd , serverConfigPath )
54
- ) } `
55
- ) ;
56
49
// Start the webpack/browserSync server
57
50
spinner . start ( ) ;
58
51
const packer = new Pack (
You can’t perform that action at this time.
0 commit comments