browserify / browserify/syntax-error

If not defined, etc., it will not be recognized.

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
81
Forks
26
PR merge metrics
No merged PRs in 30d

Description

main.js
```
var some = {};
module.exports = some;

a
```

errorCheck.js
```
var file = require("path").join("main.js");
var src = require("fs").readFileSync(file);
var ec = check(src, file);

if(ec) return { ... };
require("./main.js");
...
```

```
uncaughtException - a is not defined
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.