这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jamesplease
Copy link
Member

This has been a long time coming. Previously, if you set the repository name to be something with .js in it, the resulting package.json would have some weird values. For instance, the entryFileName would be name.js.js, and the name of the npm module itself would have .js.

This makes the behavior more predictable, and it should line up with what you want most of the time.

The new naming scheme is now more predictable. It handles
package names that include `.js` in the name just as well as ones
without. Previously, names with `.js` would trip up the
algorithm.
@jamesplease jamesplease merged commit f3debc1 into master May 12, 2016
@jamesplease jamesplease deleted the package-name branch May 12, 2016 02:12
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