Skip to content
This repository was archived by the owner on Jul 5, 2021. It is now read-only.

Remove dependency on a package.json#16

Open
Galkon wants to merge 1 commit into
jpgrusling:masterfrom
get-wrecked:patch/production-bundling-issue
Open

Remove dependency on a package.json#16
Galkon wants to merge 1 commit into
jpgrusling:masterfrom
get-wrecked:patch/production-bundling-issue

Conversation

@Galkon

@Galkon Galkon commented Dec 12, 2020

Copy link
Copy Markdown

Removing dependency on package.json file existing just to initialize the debug instances allows this package to be bundled in production applications, such as electron applications, without requiring this module to be excluded from the bundling process. Considering this package name will very likely never change, I don't see a reason not to hardcode the string so this package can be bundled properly.

Removing dependency on package.json file existing just to initialize the `debug` instances allows this package to be bundled in production applications, such as electron applications, without requiring this module to be excluded from the bundling process. Considering this package name will very likely _never_ change, there is no reason not to hardcode the string so this package can be bundled properly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant