Last active
August 29, 2015 14:14
-
-
Save maniart/4e7d3395ce0e55f2e67d to your computer and use it in GitHub Desktop.
Comma separated `fs` module require in Browserify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Will parse OK | |
var fs = require('fs'); | |
var $ = require('jquery')(window); | |
// Will NOT parse | |
var fs = require('fs'), | |
$ = require('jquery')(window); | |
// Also documented here: https://github.com/substack/node-browserify/issues/950 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment