weboptimizer 2.0.1110 → 2.0.1111

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/index.d.ts CHANGED
@@ -1,9 +1,16 @@
1
1
  #!/usr/bin/env babel-node
2
+ /// <reference types="node" />
3
+ /// <reference types="webpack-env" />
2
4
  /**
3
5
  * Main entry point.
4
6
  * @param context - Location from where to build current application.
7
+ * @param currentWorkingDirectory - Current working directory to use as
8
+ * reference.
9
+ * @param commandLineArguments - Arguments to take into account.
10
+ * @param webOptimizerPath - Current optimizer context path.
11
+ * @param environment - Environment variables to take into account.
5
12
  *
6
13
  * @returns Nothing.
7
14
  */
8
- declare const main: (context?: string | undefined) => Promise<void>;
15
+ declare const main: (context?: string | undefined, currentWorkingDirectory?: string, commandLineArguments?: Array<string>, webOptimizerPath?: string, environment?: NodeJS.ProcessEnv) => Promise<() => void>;
9
16
  export default main;