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

npm workflow #1476

Closed
wants to merge 1 commit into from
Closed

npm workflow #1476

wants to merge 1 commit into from

Conversation

shrinktofit
Copy link
Contributor

No description provided.


关于具体的 Cocos Creator 模块格式判别规则,见 [模块规范](./spec.md)。

如果你的代码是通过 tsc 编译生成的,我们推荐将 `tsconfig.json` 的 `module` 字段设为 `ES2015`。
Copy link
Contributor

Choose a reason for hiding this comment

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

这句话似乎跟上面重复了


```json
{
name: "foo",
Copy link
Contributor

Choose a reason for hiding this comment

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

json 中的 key 需要加双引号

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.

None yet

3 participants