closure-calculate-chunks
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -154,5 +154,5 @@ #!/usr/bin/env node | ||
.buildFromEntrypoints( | ||
flags.packageJsonEntryNames, | ||
entrypoints, | ||
manualEntrypoints, | ||
flags.packageJsonEntryNames, | ||
rootDir, | ||
@@ -159,0 +159,0 @@ googBasePath, |
@@ -177,6 +177,6 @@ import graphlib from 'graphlib'; | ||
* | ||
* @param {!Array<string>} packageJsonEntryNames prefence order of fields to look for in package.json files for the main file | ||
* @param {!Array<{name:string, files: !Array<string>}>} entrypoints paths from which to start building the graph. | ||
* The first entry is the primary entrypoint. | ||
* @param {!Array<{parent: string, child: {name: string, files: !Array<string>}}>} manualEntrypoints additional files to be manually added. | ||
* @param {!Array<string>=} packageJsonEntryNames prefence order of fields to look for in package.json files for the main file | ||
* @param {string=} baseDirectory root directory of application | ||
@@ -188,5 +188,5 @@ * @param {string=} googBasePath path to closure library base.js | ||
static async buildFromEntrypoints( | ||
packageJsonEntryNames, | ||
entrypoints, | ||
manualEntrypoints = [], | ||
packageJsonEntryNames = ['browser', 'module', 'main'], | ||
baseDirectory = process.cwd(), | ||
@@ -193,0 +193,0 @@ googBasePath = process.cwd(), |
{ | ||
"name": "closure-calculate-chunks", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Analyze dependencies from entry points and split code for closure-compiler", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
74217