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

Just one missing piece for a perfect solution - Dependency extraction #73

Open
irshadahmad21 opened this issue Nov 28, 2023 · 1 comment
Milestone

Comments

@irshadahmad21
Copy link
Contributor

irshadahmad21 commented Nov 28, 2023

Thank you for this tool. It's amazing!

For webpack WP has a plugin dependency-extraction-webpack-plugin that bundles all the WP dependencies that are loaded externally.

Here is the related discussion on Vite repo: vitejs/vite#9411

Could we have that missing piece?

I am ready to help build such a feature, but unfortunately, I am not an expert on the build tools.

@kucrut
Copy link
Owner

kucrut commented Jun 13, 2024

The Webpack dependency extraction plugin has two purposes. The first one is already possible with this plugin (see README), and the second one is mainly for developing custom blocks.

I have a WIP branch that solves the second issue. It should be released when ready (hopefully soon enough).

@kucrut kucrut added this to the Blocks milestone Jun 13, 2024
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

No branches or pull requests

2 participants