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

Ignore "fs" module in browser builds #1644

Merged
merged 1 commit into from
Oct 9, 2014
Merged

Conversation

sokra
Copy link
Contributor

@sokra sokra commented Sep 1, 2014

While browserify uses an empty module for fs by default, webpack does not and will refuse to bundle the jade runtime. (pugjs/pug-loader#8)

@mllocs
Copy link

mllocs commented Sep 15, 2014

+1

@remoe
Copy link

remoe commented Oct 7, 2014

👍

ForbesLindesay added a commit that referenced this pull request Oct 9, 2014
Ignore "fs" module in browser builds
@ForbesLindesay ForbesLindesay merged commit bd62002 into pugjs:master Oct 9, 2014
@sokra sokra deleted the patch-1 branch November 11, 2014 22:56
ashensis pushed a commit to ashensis/messageformat.js that referenced this pull request Jan 10, 2016
So as to avoid webpack warnings being thrown when compiling an app with messageformat in, we need to specify a browser definition for fs.

From the creator of weback to jade:
pugjs/pug#1644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants