Skip to content

Ensure a default value is set for options.filename - #81

Closed
nkoterba wants to merge 1 commit into
browserify:masterfrom
nkoterba:patch-1
Closed

nkoterba wants to merge 1 commit into
browserify:masterfrom
nkoterba:patch-1

Conversation

@nkoterba

Copy link
Copy Markdown

Starting with Node v6+, path.dirname will not accept undefined inputs. Use the Node global variable __filename as a default value if filename is not passed in in the configuration object to node-browser-resolve-call.

Starting with Node v6+, path.dirname will **not** accept undefined inputs.  Use the Node global variable `__filename` as a default value if `filename` is not passed in in the configuration object to node-browser-resolve-call.
@goto-bus-stop

Copy link
Copy Markdown
Member

Thanks for the PR! This was eventually fixed by #80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants