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

docs/more concise version of custom imports using NODE_OPTIONS #182

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Feb 8, 2025

Related Issue

N / A

Summary of Changes

  1. Provide alternative variant of using --import for custom imports, using NODE_OPTIONS
  2. Updated website build script to use this flavor
# before
$ node --import @greenwood/cli/register ./node_modules/@greenwood/cli/src/index.js build

# after
$ NODE_OPTIONS='--import @greenwood/cli/register' greenwood build

@thescientist13 thescientist13 added docs Greenwood specific content like docs and guides chore project maintenance related tasks labels Feb 8, 2025
Copy link

netlify bot commented Feb 8, 2025

Deploy Preview for super-tapioca-5987ce ready!

Name Link
🔨 Latest commit 20b6ded
🔍 Latest deploy log https://app.netlify.com/sites/super-tapioca-5987ce/deploys/67a6a5cf60a1850008d70eb9
😎 Deploy Preview https://deploy-preview-182--super-tapioca-5987ce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@thescientist13 thescientist13 self-assigned this Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore project maintenance related tasks docs Greenwood specific content like docs and guides
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

1 participant