Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(package): adding pkg.browser#3837

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dbrab wants to merge2 commits intoangular-ui:master
base:master
Choose a base branch
Loading
fromdbrab:master

Conversation

@dbrab
Copy link

package.json browser is recommended used for client side scripts .
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#browser

Some module bundles like webpack use browser> module> main to resolve the modules according to the target ,
not having a browser field in the package.json, it always solves the pkg.module, this is a problem when you want to load browser modules that have things like windows and / or no imports (they are not supported in iifes)

@stale
Copy link

stalebot commentedApr 18, 2022

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.

This does not mean that the issue is invalid. Valid issues
may be reopened.

Thank you for your contributions.

@stalestalebot added the stale labelApr 18, 2022
@stalestalebot removed the stale labelApr 5, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@dbrab@wawyed

[8]ページ先頭

©2009-2025 Movatter.jp