Skip to content

fix: main does not reflect index.js location#33

Merged
iamogbz merged 3 commits into
bundlewatch:masterfrom
Aghassi:patch-1
Mar 11, 2020
Merged

fix: main does not reflect index.js location#33
iamogbz merged 3 commits into
bundlewatch:masterfrom
Aghassi:patch-1

Conversation

@Aghassi

@Aghassi Aghassi commented Jan 16, 2019

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Fixes the NodeJS API import since the main is the incorrect path

Did you add tests for your changes?

Nope :/

If relevant, link to documentation update:

Summary

I want to use the Node API, but the main in package.json doesn't reflect the proper place to grab the import from.

Does this PR introduce a breaking change?

Nope, it fixes one though.

Other information

@Aghassi

Aghassi commented Jan 16, 2019

Copy link
Copy Markdown
Contributor Author

Actually this is wrong all together. I don't see where the index.js is for the API? there's the app and there's the bin folder, but no where is there anything for the api in particular. Both those other folders make assumptions :/

@jakebolam

Copy link
Copy Markdown
Member

@Aghassi haven't looked in a while. I think this is it: https://github.com/bundlewatch/bundlewatch/blob/master/src/app/index.js

You can see the bin using it: https://github.com/bundlewatch/bundlewatch/blob/master/src/bin/index.js#L43

Comment thread package.json Outdated
@iamogbz iamogbz merged commit 9156d17 into bundlewatch:master Mar 11, 2020
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.

3 participants