Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

require大写的文件在mac下能正常调用,但是到linux上build就报错,建议强制大小写检测 #1353

Open
xiamidaxia opened this issue Jul 17, 2015 · 0 comments

Comments

@xiamidaxia
Copy link

文件a.js

//引用小写的
var b = require('./b')
console.log(b)

文件B.js

 module.exports = "in file B.js"

mac上正常编译, 建议强制大小写build不让通过:
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant