Skip to content

feat(packages/sui-bundler): add proper context to bundler #1927

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

Merged
merged 2 commits into from
Apr 23, 2025

Conversation

andresz1
Copy link
Member

@andresz1 andresz1 commented Apr 23, 2025

Description

This PR adds proper context to sui bundler in case that the app is inside app folder for example, and not inside the root

Related Issue

Example

@@ -39,7 +39,7 @@ const webpackConfig = {
name: 'client',
mode: 'production',
target,
context: path.resolve(CWD, 'src'),
context: path.resolve(process.cwd(), 'src'),
Copy link
Member

Choose a reason for hiding this comment

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

Here you are changing the same value I guess

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh your are right!

@andresz1 andresz1 merged commit fced3b1 into master Apr 23, 2025
2 checks passed
@andresz1 andresz1 deleted the feat/sui-bundler-context branch April 23, 2025 08:08
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.

3 participants