Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implements a "normalize-options" pseudo-hook #174

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

arcanis
Copy link
Contributor

@arcanis arcanis commented Nov 14, 2018

Split out of #170.

This PR adds a noop function used to normalize the options passed to resolve. The goal is for third-party environments like PnP to be able to override this file (and only this file) to set new default options more adapted to the current process resolution.

@ljharb ljharb merged commit 3170ce1 into browserify:master Nov 16, 2018
ljharb added a commit that referenced this pull request Dec 17, 2018
 - [New] `async`/`sync`/`node-modules-paths`: Adds support for “paths” being a function (#172, #173)
 - [New] Implements a "normalize-options" pseudo-hook (#174)
 - [Fix] `sync`/`async`: fix `preserveSymlinks` option (#177)
 - [Fix] `sync`/`async`: when package.json `main` is not a string, throw an error (#178)
 - [Deps] update `path-parse`
 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-keys`, `safe-publish-latest`, `tape`
 - [Tests] up to `node` `v11.4`, `v10.14`, `v8.14`, `v6.15`
 - [Tests] better failure messages
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants