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

[Vue] Disconnected mode doesn't start in monorepo #1418

Merged
merged 1 commit into from
Apr 5, 2023
Merged

Conversation

illiakovalenko
Copy link
Contributor

@illiakovalenko illiakovalenko commented Apr 5, 2023

Description / Motivation

In case requireArg is not provided, the disconnected server manifest generation is started using sitecore/definitions/config.js transpiler, that is working fine for us (and uses same the @babel/register package).

As a worst case it would be possible to work around that by using path.resolve(process.cwd(), 'node_modules/@babel/register'). Since in monorepo some packages can be placed in the root node_modules it's required to provide exact path if module imported from a different package, like here

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@illiakovalenko illiakovalenko requested a review from a team April 5, 2023 09:36
Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

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

Looks good

@illiakovalenko illiakovalenko merged commit 056adea into dev Apr 5, 2023
@illiakovalenko illiakovalenko deleted the bugfix/570549 branch April 5, 2023 12:59
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