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

Basic Node Support #40

Merged
merged 22 commits into from
Nov 20, 2023
Merged

Basic Node Support #40

merged 22 commits into from
Nov 20, 2023

Conversation

jamsinclair
Copy link
Owner

@jamsinclair jamsinclair commented Nov 20, 2023

Fixes #38

Changes

  • Fixes relative imports to be compatible with Node.js by using .js extension
  • Adds global formatting with prettier
  • Adds basic eslint setup
    • Only asserting all relative imports have an extension
  • Updates multi-threaded modules to check if they're running in Node, if so, they use single threaded path always.
  • Updates pre.js scripts to also polyfill ImageData for Node.js

@jamsinclair jamsinclair merged commit 710d026 into main Nov 20, 2023
1 check passed
@jamsinclair jamsinclair deleted the basic-node-support branch November 20, 2023 10:18
@jamsinclair jamsinclair mentioned this pull request Nov 20, 2023
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.

Basic Node.js Support
1 participant