Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore: move index.js into src #6007

Merged
merged 3 commits into from Jun 12, 2020
Merged

chore: move index.js into src #6007

merged 3 commits into from Jun 12, 2020

Conversation

jackfranklin
Copy link
Collaborator

This is the first part of a series of pull requests that will slowly
make it possible to initialise Puppeteer for either a Node environment
or a web one. By creating the initialisePuppeteer function we can
inject dependencies in for the given version of Puppeteer (e.g. inject a
different debug library for Node vs the web).

This PR moves the initialisation into src and calls into it from the
root index.js.

This is the first part of a series of pull requests that will slowly
make it possible to initialise Puppeteer for either a Node environment
or a web one. By creating the `initialisePuppeteer` function we can
inject dependencies in for the given version of Puppeteer (e.g. inject a
different debug library for Node vs the web).

This PR moves the initialisation into `src` and calls into it from the
root `index.js`.
index.js Outdated Show resolved Hide resolved
jackfranklin and others added 2 commits June 12, 2020 12:06
Co-authored-by: Mathias Bynens <mathias@qiwi.be>
@jackfranklin jackfranklin merged commit 5c91dfb into master Jun 12, 2020
@jackfranklin jackfranklin deleted the move-index-into-src branch June 12, 2020 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants