Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 77f2b86

Browse files
committedMar 6, 2018
style: indent with spaces
1 parent 3d7303f commit 77f2b86

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
 

‎lib/before-prepareJS.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
const { runWebpackCompiler } = require("./compiler");
22

33
module.exports = function ($mobileHelper, $projectData, $logger, hookArgs) {
4-
const env = hookArgs.config.env || {};
5-
const platform = hookArgs.config.platform;
6-
const appFilesUpdaterOptions = hookArgs.config.appFilesUpdaterOptions;
7-
const config = {
8-
env,
9-
platform,
10-
bundle: appFilesUpdaterOptions.bundle,
11-
release: appFilesUpdaterOptions.release,
12-
};
13-
const result = config.bundle && runWebpackCompiler.bind(runWebpackCompiler, config, $mobileHelper, $projectData, $logger, hookArgs);
14-
return result;
4+
const env = hookArgs.config.env || {};
5+
const platform = hookArgs.config.platform;
6+
const appFilesUpdaterOptions = hookArgs.config.appFilesUpdaterOptions;
7+
const config = {
8+
env,
9+
platform,
10+
bundle: appFilesUpdaterOptions.bundle,
11+
release: appFilesUpdaterOptions.release,
12+
};
13+
const result = config.bundle && runWebpackCompiler.bind(runWebpackCompiler, config, $mobileHelper, $projectData, $logger, hookArgs);
14+
return result;
1515
}

0 commit comments

Comments
 (0)
This repository has been archived.