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

tmod的getConfig方法在获取json的dependencies时的一个bug #126

Open
tracker1999 opened this issue Sep 19, 2016 · 0 comments
Open

Comments

@tracker1999
Copy link

tracker1999 commented Sep 19, 2016

package.json文件中devDependencies没有tmodjs属性时,编译报错,
tmod.js 240行 var targetVersion = json.dependencies.tmodjs.replace(/^~/, '');
json.dependencies.tmodjs为undefined

【gulp-tmod】

@tracker1999 tracker1999 changed the title 模板编译报错 tmod的getConfig方法在获取json的dependencies时的一个bug Sep 19, 2016
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