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

Dependency generation not working #1

Open
vralle opened this issue Jun 7, 2022 · 0 comments
Open

Dependency generation not working #1

vralle opened this issue Jun 7, 2022 · 0 comments

Comments

@vralle
Copy link

vralle commented Jun 7, 2022

Hi!
The examples use import via global constants. WP Dependency Extraction defines dependency imports.
Example:
const { assign, merge } = lodash; => lodash will not be added to dependencies in index.asset.php
import { assign, merge } from 'lodash' => lodash will be added to dependencies in index.asset.php

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

1 participant