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

TASK: Remove plow-js from PlaceholderInsert plugin #141

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

markusguenther
Copy link
Member

Since we changed the build stack in the Neos-UI to esbuild we are able to use the optional chaining (?.) operator in JavaScript. As the modern JavaScript is pretty powerful, we don’t need the helper methods from the plow-js library anymore.

The library served us well and has been deprecated, we also throw console messages when we still use the functions from plow-js. To prevent bloating the console with Neos packages, we should remove the usage also in our own plugins.
With this PR we use esbuild instead of webpack for the Plugin and drop plow-js.

@markusguenther markusguenther added enhancement dependencies Pull requests that update a dependency file labels Oct 4, 2024
Copy link
Member

@mhsdesign mhsdesign 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 <3

@bwaidelich bwaidelich merged commit 8834cb7 into master Oct 7, 2024
@bwaidelich bwaidelich deleted the task/remove-plow-js branch October 7, 2024 10:04
@bwaidelich
Copy link
Member

image

woohoo, thanks a lot :)

I assume that this works as expected, otherwise we can always tweak it in a follow-up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants