Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Oct 18, 2023
1 parent 523cb4b commit 0acc398
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,39 +105,6 @@ import { log } from "./log.js";
* mode: "build",
* });
*
* @example
* // Managed Manifest mode
* nwbuild({
* mode: "build",
* managedManifest: true
* });
*
* This will parse the first `package.json` it encounters as the NW.js manifest.
* This is a good way to quickly bootstrap a web/node application as a NW.js application.
* It will remove any development dependencies, autodetect the package manager via `packageManager` and download the relevant dependencies.
*
* @example
* // Managed Manifest JSON
* nwbuild({
* mode: "build",
* managedManifest: { name: "demo", "main": "index.html" }
* });
*
* This will ignore the first `package.json` it encounters and use the user input JSON instead.
* This is good way to customise your existing NW.js application after bootstrapping it.
* It will remove any development dependencies, autodetect the package manager via `packageManager` and download the relevant dependencies.
*
* @example
* // Managed Manifest File
* nwbuild({
* mode: "build",
* managedManifest: "./manifest.json"
* });
*
* Similar to Managed Manifest JSON, this will also ignore the first `package.json` it encounters and use the manifest file provided by the user instead.
* This is good way to customise your existing NW.js application after bootstrapping it. Using JSON vs file is matter of preference.
* It will remove any development dependencies, autodetect the package manager via `packageManager` and download the relevant dependencies.
*
* @param {string | string[]} files Array of NW app files
* @param {string} nwDir Directory to hold NW binaries
* @param {string} outDir Directory to store build artifacts
Expand Down

0 comments on commit 0acc398

Please sign in to comment.