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

fis3-hook-cmd如何修改模块的id?Uncaught TypeError: main is not a function #61

Open
surain0303 opened this issue Nov 28, 2016 · 0 comments

Comments

@surain0303
Copy link

我将js文件release到dist目录下面,seajs.use已经改成dist/my.js,可是seajs包裹后,定义为define('src/my', [], function (require, exports, module) {,这里面的id要怎么改?

id不对一直提示错误:business1.html:66 Uncaught TypeError: main is not a function

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

1 participant