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

Fix production logger #76

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Fix production logger #76

merged 1 commit into from
Mar 14, 2023

Conversation

irahopkinson
Copy link
Contributor

@irahopkinson irahopkinson commented Mar 14, 2023

  • allow ../renderer/electron-log-preload.js to be bundled

There is probably a more generic way to do this but I don't know what that should be so for now this is fixing the immediate issue. One generic option might be (/renderer\//.test(resource) && (resource.startsWith('./') || resource.startsWith('../'))) but there could be other issues like a developer might use a backslash or start with something else and backup or forward to a location that would effectively be in the renderer.

- allow `../renderer/electron-log-preload.js` to be bundled
@irahopkinson irahopkinson enabled auto-merge (squash) March 14, 2023 04:01
@irahopkinson irahopkinson linked an issue Mar 14, 2023 that may be closed by this pull request
@irahopkinson irahopkinson merged commit 9a9169e into main Mar 14, 2023
@irahopkinson irahopkinson deleted the fix/prod-logger branch March 14, 2023 12:41
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.

Create Logging Service
2 participants