frontfire 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/FrontFire.js +1 -7
package/package.json
CHANGED
package/src/FrontFire.js
CHANGED
|
@@ -21,9 +21,6 @@ export default async function frontFire( isWatch, cfg = {} )
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
console.log( "Using root build dir:" )
|
|
25
|
-
console.log( rootBuildDir );
|
|
26
|
-
|
|
27
24
|
fse.ensureDirSync( rootBuildDir );
|
|
28
25
|
fse.ensureDirSync( `${rootBuildDir}${path.sep}debug` );
|
|
29
26
|
fse.ensureDirSync( `${rootBuildDir}${path.sep}release` );
|
|
@@ -35,7 +32,6 @@ export default async function frontFire( isWatch, cfg = {} )
|
|
|
35
32
|
|
|
36
33
|
if ( fs.statSync( dirToDelete ) )
|
|
37
34
|
{
|
|
38
|
-
console.log( "Cleaning build directory: " + dirToDelete );
|
|
39
35
|
fs.rmSync( dirToDelete, { recursive: true, force: true } );
|
|
40
36
|
}
|
|
41
37
|
}
|
|
@@ -56,8 +52,6 @@ export default async function frontFire( isWatch, cfg = {} )
|
|
|
56
52
|
esbuildOpts = _.get( config, 'release.esbuild' );
|
|
57
53
|
}
|
|
58
54
|
|
|
59
|
-
console.log( esbuildOpts );
|
|
60
|
-
|
|
61
55
|
let ctx = await esbuild.context( esbuildOpts );
|
|
62
56
|
|
|
63
57
|
if ( true === isWatch )
|
|
@@ -115,7 +109,7 @@ export default async function frontFire( isWatch, cfg = {} )
|
|
|
115
109
|
|
|
116
110
|
}).listen(3000);
|
|
117
111
|
|
|
118
|
-
console.log(
|
|
112
|
+
console.log( `> InfrontJS:http://localhost:${port}` );
|
|
119
113
|
}
|
|
120
114
|
else
|
|
121
115
|
{
|