Skip to content

fix(ngx-diff): add styles to exports of package.json #79

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

rars
Copy link
Owner

@rars rars commented Mar 27, 2024

Fixes #78

@rars rars merged commit c259432 into main Mar 27, 2024
@rars rars deleted the fix-package-exports branch March 27, 2024 12:08
"homepage": "https://github.com/rars/ngx-diff#readme"
"homepage": "https://github.com/rars/ngx-diff#readme",
"exports": {
"./styles/": "./styles/"
Copy link

@mshima mshima Mar 27, 2024

Choose a reason for hiding this comment

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

Exporting directories is deprecated and not supported in node anymore.
Since I am using webpack, it’s not complaining.

So I recommend to export like "./styles/*": "./styles/*.css" or "./css/*": "./styles/*.css" to avoid problems in the future.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks for this suggestion, have updated in #81

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants