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

Rename main file from apcach.js to index.js #3

Closed
ai opened this issue Aug 11, 2023 · 0 comments
Closed

Rename main file from apcach.js to index.js #3

ai opened this issue Aug 11, 2023 · 0 comments

Comments

@ai
Copy link
Contributor

ai commented Aug 11, 2023

In npm, there is a conversion of calling the main file as index.js. For instance, culori use it.

You can key apcach.js name as well, but in this case you need to set main field to package.json to explain to npm where is your main file.

  "main": "./apcach.js",
@ai ai mentioned this issue Aug 11, 2023
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