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

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

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
2 checks passed
@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

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