Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 3ee8b82

Browse files
committed
refactor(webpack): remove unnecessary logging
remove unnecessary logging
1 parent 0099533 commit 3ee8b82

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/webpack/loader-impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export function webpackLoader(source: string, map: any, webpackContex: any) {
99
const context = getContext();
1010

1111
const absolutePath = resolve(normalize(webpackContex.resourcePath));
12-
console.log('webpack Loader: ', absolutePath);
1312
Logger.debug(`[Webpack] webpackLoader: processing the following file: ${absolutePath}`);
1413
const javascriptPath = changeExtension(absolutePath, '.js');
1514
const sourceMapPath = javascriptPath + '.map';

src/webpack/transpile-loader-impl.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ export function transpileLoader(source: string, map: any, webpackContex: any) {
1616
// we only really care about transpiling stuff that is not ionic-angular, angular, rxjs, or the users app
1717
// so third party deps that may be es2015 or something
1818
if (! isSrcOrIonicOrIonicDeps(absolutePath) && !context.isWatch && getBooleanPropertyValue(Constants.ENV_BUILD_TO_ES5)) {
19-
console.log('Transpiling: ', absolutePath);
2019
const transpiledOutput = transpileTsString(context, absolutePath, source);
2120
const sourceMapObject = JSON.parse(transpiledOutput.sourceMapText);
2221
return callback(null, transpiledOutput.outputText, sourceMapObject);
2322
}
24-
console.log('Skipping: ', absolutePath);
2523
return callback(null, source, map);
2624
} catch (ex) {
2725
callback(ex);

0 commit comments

Comments
 (0)