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

Allow importing fs module #7

Merged
merged 1 commit into from
Jan 3, 2017
Merged

Allow importing fs module #7

merged 1 commit into from
Jan 3, 2017

Conversation

devorah
Copy link
Collaborator

@devorah devorah commented Jan 3, 2017

Current webpack configuration throws an error when trying to import the node fs package (see pugjs/pug-loader#8 (comment)).

The fix is to add the following to webpack config:

node: {
  fs: "empty"
}

@devorah devorah merged commit a1c11af into master Jan 3, 2017
@devorah devorah deleted the fix-fs-import-issue branch January 3, 2017 00:08
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

Successfully merging this pull request may close these issues.

1 participant