Skip to content

Conversation

@thedannywahl
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings October 21, 2025 21:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR configures the build process to use a custom vite-node loader during the deployment workflow. The change ensures that the build step utilizes the project's custom loader plugin for proper module resolution and transformation.

Key Changes

  • Added NODE_OPTIONS environment variable to the build step in the GitHub Actions workflow to import the vite-node loader plugin

- name: Build
if: steps.changes.outputs.skip_steps != 'true'
env:
NODE_OPTIONS: --import=${{ github.workspace }}/plugins/vite-node.plugin.loader.mjs
Copy link

Copilot AI Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --import flag requires Node.js v20.6.0 or later. Ensure the workflow is using a compatible Node.js version, or consider using --loader for older versions (though note that --loader is experimental and may have different behavior).

Copilot uses AI. Check for mistakes.
@thedannywahl thedannywahl merged commit a25ba12 into main Oct 21, 2025
4 checks passed
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.

2 participants