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

chore: update packages including esbuild + gulp v5 #1142

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

colinrotherham
Copy link
Collaborator

This PR includes:

  1. Updating to Gulp v5 including { encoding: false } for binary files
  2. Removing unused packages gulp-clean, gulp-rev-rewrite
  3. Package updates

Part of issue #1141

Copy link
Contributor

@chrispymm chrispymm left a comment

Choose a reason for hiding this comment

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

All looks good to me.

target: 'es6',
gulpEsbuild({
bundle: true,
loader: { '.mjs': 'js' },
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm assuming this is correct, but just wanted to check it shouldn't be .js?

Just re-read the line, and spotted the colon, and now understand it!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Caught me out at first. Seems like the esbuild update must brought mandatory file extensions into play and stopped automatically resolving .mjs as JavaScript for some reason

@colinrotherham colinrotherham merged commit a0e4323 into main Feb 6, 2025
22 checks passed
@colinrotherham colinrotherham deleted the update-packages branch February 6, 2025 09:56
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